simplest possible CSS spinner
minimal implementation
by dpren
HTML
<div class="spinner"/></div>Uploading...
CSS
.spinner {
display: inline-block;
height: 30px;
width: 30px;
animation: rotation .5s infinite linear;
border: 3px solid rgba(0, 174, 239, .15);
border-top: 3px solid rgba(0, 174, 239, .8);
border-radius: 100%;
}
@keyframes rotation {
from {transform: rotate(0deg);}
to {transform: rotate(359deg);}
}