Created
February 2, 2017 17:29
-
-
Save dsaiztc/a906be20dc988d469f1cb61935dfc84a to your computer and use it in GitHub Desktop.
Spinner icon loading.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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); } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div></div><span class="glyphicon glyphicon-refresh spinning"></span> Loading...</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment