Skip to content

Instantly share code, notes, and snippets.

@DfKimera
Created December 9, 2011 14:38
Show Gist options
  • Save DfKimera/1451774 to your computer and use it in GitHub Desktop.
Save DfKimera/1451774 to your computer and use it in GitHub Desktop.
Roll-a-barrel!
(function(){var r=0,mr=360;setInterval(function(){(r<mr)?r++:r=0;document.body.style['-webkit-transform']='rotate('+r+'deg)';}, 1);})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment