A Pen by Andrew Kirchmyer on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="results"> | |
| </div> |
A Pen by Andrew Kirchmyer on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //FastClick.attach(document.body); | |
| button = document.createElement('button'); | |
| button.innerHTML="Test"; | |
| clickBox = document.createElement('input'); | |
| clickBox.type = "text"; | |
| touchendBox = document.createElement('input'); | |
| touchendBox.type = "text"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="blocks"></div> |
from "secrets of a javascript ninja"
A Pen by Andrew Kirchmyer on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="my-ellipse"></div> | |
| Hover and notice that the ellipse is preserved with a new width and height |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| box shadow on one side using the 4th "spread" value in box-shadow | |
| <div class="mybox"></div> | |
| Multiple box shadows can be used to "outline" elements | |
| <div class="mybox2"></div> |
A Pen by Andrew Kirchmyer on CodePen.