Skip to content

Instantly share code, notes, and snippets.

@felippenardi
Forked from LeaVerou/dabblet.css
Created July 24, 2014 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felippenardi/7d2ee3ecd7b3bd1a733a to your computer and use it in GitHub Desktop.
Save felippenardi/7d2ee3ecd7b3bd1a733a to your computer and use it in GitHub Desktop.
(C)Leanest CSS spinner ever
/**
* (C)Leanest CSS spinner ever
*/
@keyframes spin {
to { transform: rotate(1turn); }
}
.progress {
display: inline-block;
animation: spin 1s infinite steps(21);
}
<div class="progress"><img src="http://www.sapdesignguild.org/editions/highlight_articles_02/images/busy/loading_anim.gif"></div>
// 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