Created
March 19, 2015 04:05
-
-
Save theblanchard/f8dc8f9fa7584b027842 to your computer and use it in GitHub Desktop.
Make it 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
.blink { | |
color:#fff; | |
background:#cc0000; | |
text-transform:lowercase; | |
padding:0 0.2em; | |
animation-name: homeCycle; | |
animation-duration:6s; | |
animation-direction:alternate; | |
animation-iteration-count:infinite; | |
-webkit-animation-name: homeCycle; | |
-webkit-animation-duration:1s; | |
-webkit-animation-direction:alternate; | |
-webkit-animation-iteration-count:infinite; | |
} | |
@keyframes homeCycle { | |
25% {background-color:#ff9600;} | |
50% {background-color:#cc0000;} | |
75% {background-color:#ff9600;} | |
} | |
@-webkit-keyframes homeCycle { | |
25% {background-color:#ff9600;} | |
50% {background-color:#cc0000;} | |
75% {background-color:#ff9600;} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment