Skip to content

Instantly share code, notes, and snippets.

@afelicioni
Created February 27, 2016 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afelicioni/d442cdb39aadb40b0c51 to your computer and use it in GitHub Desktop.
Save afelicioni/d442cdb39aadb40b0c51 to your computer and use it in GitHub Desktop.
CSS blink class
@keyframes blink {
50% { opacity:0.0 }
}
@-webkit-keyframes blink {
50% { opacity:0.0 }
}
@-moz-keyframes blink {
50% { opacity:0.0 }
}
@-ms-keyframes blink {
50% { opacity:0.0 }
}
@-o-keyframes blink {
50% { opacity:0.0 }
}
.blink {
-webkit-animation: blink 1s step-start 0s infinite;
-moz-animation: blink 1s step-start 0s infinite;
-ms-animation: blink 1s step-start 0s infinite;
-o-animation: blink 1s step-start 0s infinite;
animation: blink 1s step-start 0s infinite;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment