Skip to content

Instantly share code, notes, and snippets.

@louisbullock
Created March 23, 2013 04:41
Show Gist options
  • Save louisbullock/5226479 to your computer and use it in GitHub Desktop.
Save louisbullock/5226479 to your computer and use it in GitHub Desktop.
Untitled
i {
border-radius:100%;
display:block;
left:50%;
top:50%;
position:relative;
animation: spin 1.5s linear infinite;
}
i.one {
border:solid grey;
border-top-color:transparent;
border-width:1em;
height:1em;
width:1em;
margin:-1.5em 0 0 -1.5em;
animation-time: 10.5s;
}
i.two {
border:solid grey;
border-top-color:transparent;
border-width:1em;
height:5em;
width:5em;
position:absolute;
margin:-3.5em 0 0 -3.5em;
animation-time: 1s;
}
@keyframes spin {
100% { transform: rotate(360deg); }
}
<i class="two"><i class="one"></i></i>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment