Skip to content

Instantly share code, notes, and snippets.

@danott
Created August 25, 2010 21:47
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 danott/550375 to your computer and use it in GitHub Desktop.
Save danott/550375 to your computer and use it in GitHub Desktop.
/* Animation that rotates the logo */
@-webkit-keyframes spin-logo
{
0% { -webkit-transform: scale(1); }
50% { -webkit-transform: scale(.98); }
100% { -webkit-transform: scale(1); }
}
.selector {
-webkit-animation-name: spin-logo;
-webkit-animation-duration: 5s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
}
/* End Animation that rotates the logo */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment