Skip to content

Instantly share code, notes, and snippets.

@inxomnyaa
Forked from guilhermef/dabblet.css
Last active August 29, 2015 14:25
Show Gist options
  • Save inxomnyaa/f73fed848f15ad23f338 to your computer and use it in GitHub Desktop.
Save inxomnyaa/f73fed848f15ad23f338 to your computer and use it in GitHub Desktop.
/**
* iMessage-style loader
*/
@keyframes fade {
to { background: rgba(0,0,0,.1); }
}
.progress,
.progress:before,
.progress:after {
content: '';
display: inline-block;
width: 1em;
height: 1em;
border-radius: 50%;
background: rgba(0,0,0,.5);
animation: .6s fade linear alternate infinite;
}
.progress {
white-space: nowrap;
}
.progress:before {
margin-left: 1.3em;
animation-delay: .2s;
}
.progress:after {
margin-left: .3em;
animation-delay: .4s;
}
<div class="progress"></div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"1","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment