Skip to content

Instantly share code, notes, and snippets.

@marciobarrios
Forked from glorialangreo/dabblet.css
Created August 6, 2013 13:54
Show Gist options
  • Save marciobarrios/6164629 to your computer and use it in GitHub Desktop.
Save marciobarrios/6164629 to your computer and use it in GitHub Desktop.
Spinner adjustments, original by Gloria Langreo (http://dabblet.com/gist/6163594)
/**
* Spinner adjustments, original by Gloria Langreo (http://dabblet.com/gist/6163594)
*/
* { margin: 0; padding: 0; }
body { background-color: #434343; text-align:center; padding: 2em; }
.spinner { display: inline-block; margin-left: -2px; }
.spinner li {
display: inline-block;
width: 4px;
height: 12px;
margin-left: 2px;
background-color: #fff;
animation: 1s spin infinite alternate;
}
.spinner li:nth-child(2) { animation-delay: .125s; }
.spinner li:nth-child(3) { animation-delay: .25s; }
.spinner li:nth-child(4) { animation-delay: .325s; }
@keyframes spin {
25%, 75% { opacity: 0; }
}
<ul class="spinner"><li><li><li><li></ul>
// 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