Skip to content

Instantly share code, notes, and snippets.

@brito
Created May 17, 2012 06:55
Show Gist options
  • Save brito/2717107 to your computer and use it in GitHub Desktop.
Save brito/2717107 to your computer and use it in GitHub Desktop.
spinny
/* spinny */
section { width:1em; height:1em; margin:auto;
border:1px solid black; background:hsla(137,100%,30%,.3);
transform-origin:50%; transform-style:preserve-3d }
@keyframes spin { 50% { transform:rotate3d(1,1,1,579.6deg) } }
#a { animation:spin 8s infinite }
#b { animation:spin 5s infinite }
#c { animation:spin 3s infinite }
body { font:26em/1 monospace; perspective:5em }
<section id=a>
<section id=b>
<section id=c></section>
</section>
</section>
{"view":"split","fontsize":"140","seethrough":"1","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment