Skip to content

Instantly share code, notes, and snippets.

@brito
Created December 19, 2012 07:22
Show Gist options
  • Save brito/4335038 to your computer and use it in GitHub Desktop.
Save brito/4335038 to your computer and use it in GitHub Desktop.
cinquefoil (eventually)
/* cinquefoil (eventually) */
nav { margin:5% auto; position:relative; perspective:.001em;
width:1.6em; overflow:hidden; height:1em }
@keyframes x { to { } }
a { transform-origin:50%; background:hsla(222,100%,50%,.3); width:100%; height:1.6em;
display:inline-block;transform:rotate3d(1,0,0,1deg);
position:absolute; animation:-spin 10s infinite alternate linear }
a:nth-child(1) { }
a:nth-child(2) { }
a:nth-child(3) { }
a:nth-child(4) { }
a:nth-child(5) { }
body { font:16em/1 monospace }
<nav>
<a></a>
<a></a>
<a></a>
<a></a>
<a></a>
</nav>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment