Created
December 17, 2013 18:42
-
-
Save exarcheia-web/8010361 to your computer and use it in GitHub Desktop.
Transition hack - courtesy of tympanus, those legendary guys
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
| /* Transition hack - courtesy of tympanus, those legendary guys */ | |
| .to-be-changed { | |
| transition: all 0s 9999999s; | |
| } | |
| span:active ~ .to-be-changed { | |
| transition: all 0s; | |
| color: red; | |
| } |
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
| <span>Click me!</span> | |
| <p class="to-be-changed">I'm going to be red! It's gonna be legen... Wait for it...</p> |
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
| // alert('Hello world!'); |
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
| {"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment