Skip to content

Instantly share code, notes, and snippets.

@arian
Created December 7, 2012 13:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arian/4233264 to your computer and use it in GitHub Desktop.
Save arian/4233264 to your computer and use it in GitHub Desktop.
@-webkit-keyframes rotate {
0% {-webkit-transform: rotate(0deg);}
100% {-webkit-transform: rotate(360deg);}
}
.rotation {
-webkit-animation: rotate;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
}
/* other css prefixes stuff */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment