-
-
Save 304352303/095150b0bee440d46507dd1b6ad28118 to your computer and use it in GitHub Desktop.
Blinking
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
/** | |
* Blinking | |
*/ | |
@keyframes blink-1 { 50% { color: transparent } } | |
@keyframes blink-2 { to { color: transparent } } | |
p { | |
padding: 1em; | |
background: gold; | |
} | |
.blink-smooth-1 { | |
animation: 1s blink-1 3; | |
} | |
.blink-smooth-2 { | |
animation: .5s blink-2 6; | |
animation-direction: alternate; | |
} | |
.blink { | |
animation: 1s blink-1 5 steps(1); | |
} |
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
<p class="blink-smooth-1">Peek-a-boo!</p> | |
<p class="blink-smooth-2">Peek-a-boo!</p> | |
<p class="blink">Peek-a-boo!</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-vertical","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