daniel-s
2/2/2017 - 5:29 PM

Spinner icon loading.

Spinner icon loading.

<div></div><span class="glyphicon glyphicon-refresh spinning"></span> Loading...</div>
/* glyphicon spinning http://stackoverflow.com/a/26283602/3149679 */
.glyphicon.spinning {
	animation: spin 1s infinite linear;
	-webkit-animation: spin2 1s infinite linear;
}
@keyframes spin {
	from { transform: scale(1) rotate(0deg); }
	to { transform: scale(1) rotate(360deg); }
}
@-webkit-keyframes spin2 {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(360deg); }
}