Skip to content

Instantly share code, notes, and snippets.

@dbergey
Created April 1, 2011 19:17
Show Gist options
  • Save dbergey/898689 to your computer and use it in GitHub Desktop.
Save dbergey/898689 to your computer and use it in GitHub Desktop.
sneaky spinner JS
document.body.innerHTML += '<style style="display: none;">@-webkit-keyframes spinner { 0%, 45%, 100% { -webkit-transform: rotate(0deg); } 50%, 95% { -webkit-transform: rotate(180deg); } } body { -webkit-animation: spinner 300s infinite; }</style>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment