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
| var path = document.querySelector('.squiggle-animated path'); | |
| var length = path.getTotalLength(); | |
| // Clear any previous transition | |
| path.style.transition = path.style.WebkitTransition = | |
| 'none'; | |
| // Set up the starting positions | |
| path.style.strokeDasharray = length + ' ' + length; | |
| path.style.strokeDashoffset = length; | |
| // Trigger a layout so styles are calculated & the browser | |
| // picks up the starting position before animating |
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
| .lt-ie8 .class-selector { | |
| *zoom: expression( | |
| this.runtimeStyle.zoom="1", | |
| this.insertBefore( | |
| document.createElement("div"), | |
| this.childNodes[0] | |
| ).className="before", | |
| this.appendChild( | |
| document.createElement("div") | |
| ).className="after" |
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
| .disable-hover, | |
| .disable-hover * { | |
| pointer-events: none !important; | |
| } |
NewerOlder