Skip to content

Instantly share code, notes, and snippets.

@mongoltolbo
Forked from sashtown/animation.css
Created June 6, 2013 17:58
Show Gist options
  • Save mongoltolbo/5723518 to your computer and use it in GitHub Desktop.
Save mongoltolbo/5723518 to your computer and use it in GitHub Desktop.
/*** You don't need a -ms-prefix for IE10. [http://msdn.microsoft.com/en-us/library/ie/hh673530(v=vs.85).aspx] ***/
.my-animation {
-webkit-animation: my-animation 2s 0.5s 1 ease-in-out normal both;
-moz-animation: my-animation 2s 0.5s 1 ease-in-out normal both;
-o-animation: my-animation 2s 0.5s 1 ease-in-out normal both;
animation: my-animation 2s 0.5s 1 ease-in-out normal both;
}
/*** Single values in this case (prefix-free). ***/
.my-animation {
animation-name: my-animation;
animation-duration: 2s;
animation-delay: 0.5s;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
animation-direction: normal;
animation-fill-mode: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment