Created
November 15, 2013 16:54
-
-
Save yetithefoot/7487650 to your computer and use it in GitHub Desktop.
Css blinking style. Just add this class to element you want to blink.
This file contains 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 { | |
animation-name: blinker; | |
animation-duration: 1s; | |
animation-timing-function: linear; | |
animation-iteration-count: infinite; | |
-webkit-animation-name: blinker; | |
-webkit-animation-duration: 1s; | |
-webkit-animation-timing-function: linear; | |
-webkit-animation-iteration-count: infinite; | |
} | |
@-moz-keyframes blinker { | |
0% { opacity: 1.0; } | |
50% { opacity: 0.0; } | |
100% { opacity: 1.0; } | |
} | |
@-webkit-keyframes blinker { | |
0% { opacity: 1.0; } | |
50% { opacity: 0.0; } | |
100% { opacity: 1.0; } | |
} | |
@keyframes blinker { | |
0% { opacity: 1.0; } | |
50% { opacity: 0.0; } | |
100% { opacity: 1.0; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment