Skip to content

Instantly share code, notes, and snippets.

@anoras
Created January 21, 2015 13:50
Show Gist options
  • Save anoras/2c820cfde4db64d35f0b to your computer and use it in GitHub Desktop.
Save anoras/2c820cfde4db64d35f0b to your computer and use it in GitHub Desktop.
<blink>
.blink {
-webkit-animation-name: blinker;
-webkit-animation-duration: 1s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-moz-animation-name: blinker;
-moz-animation-duration: 1s;
-moz-animation-timing-function: linear;
-moz-animation-iteration-count: infinite;
animation-name: blinker;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
color: red;
}
@-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