Skip to content

Instantly share code, notes, and snippets.

@alexandrevicenzi
Last active September 22, 2020 21:01
Show Gist options
  • Star 43 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
  • Save alexandrevicenzi/680147013e902a4eaa5d to your computer and use it in GitHub Desktop.
Save alexandrevicenzi/680147013e902a4eaa5d to your computer and use it in GitHub Desktop.
Bootstrap CSS Animate Loading Icon Button
<!-- Code snippet -->
<div class="form-group">
<div class="col-md-12 text-center">
<span class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span>
</div>
</div>
/*
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);}
}
@jpong7
Copy link

jpong7 commented Aug 28, 2015

sss

@jpong7
Copy link

jpong7 commented Aug 28, 2015

ssss

@maikdiepenbroek
Copy link

Thank you sir. Useful gist 👍

@wirtaw
Copy link

wirtaw commented Jun 20, 2016

Thank you!

@relyky
Copy link

relyky commented Dec 21, 2016

Thank you

@thecodepros
Copy link

Thanks!

@paulblamire
Copy link

Thank you!

@prvn1992
Copy link

Thanks!

@alexjralves
Copy link

Thank you!

@Canadadry
Copy link

Awesome !!!!

@denniskorir
Copy link

Thanks somuch

@EvgenStudent
Copy link

Thank you!

@michelclar
Copy link

Thank you!

@Pamblam
Copy link

Pamblam commented Jun 22, 2018

i farted

@Led-ds
Copy link

Led-ds commented Aug 3, 2018

Obrigado!

@CleoWChan
Copy link

Thank you ! its useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment