-
-
Save mauricionr/de2e84c1423ef9851307 to your computer and use it in GitHub Desktop.
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
<!-- Code snippet --> | |
<div class="form-group"> | |
<div class="col-md-12 text-center"> | |
<span class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span> | |
</div> | |
</div> |
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
/* | |
Original version: http://www.bootply.com/128062 | |
This version adds support for IE 10+ and Firefox. | |
*/ | |
.glyphicon-refresh-animate { | |
-animation: spin .7s infinite linear; | |
-ms-animation: spin .7s infinite linear; | |
-webkit-animation: spinw .7s infinite linear; | |
-moz-animation: spinm .7s infinite linear; | |
} | |
@keyframes spin { | |
from { transform: scale(1) rotate(0deg);} | |
to { transform: scale(1) rotate(360deg);} | |
} | |
@-webkit-keyframes spinw { | |
from { -webkit-transform: rotate(0deg);} | |
to { -webkit-transform: rotate(360deg);} | |
} | |
@-moz-keyframes spinm { | |
from { -moz-transform: rotate(0deg);} | |
to { -moz-transform: rotate(360deg);} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment