Fork-Awesome/scss/_spinning.scss

33 lines
750 B
SCSS
Raw Normal View History

// Spinning Icons
// --------------------------
2013-05-16 15:19:04 +08:00
.#{$fa-css-prefix}-spin {
-webkit-animation: spin 2s infinite linear;
2013-06-12 22:51:29 +08:00
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
}
2013-06-15 04:57:00 +08:00
2013-05-16 15:19:04 +08:00
@-moz-keyframes spin {
2013-06-12 22:51:29 +08:00
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(359deg); }
2013-05-16 15:19:04 +08:00
}
@-webkit-keyframes spin {
2013-06-12 22:51:29 +08:00
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(359deg); }
2013-05-16 15:19:04 +08:00
}
@-o-keyframes spin {
2013-06-12 22:51:29 +08:00
0% { -o-transform: rotate(0deg); }
100% { -o-transform: rotate(359deg); }
2013-05-16 15:19:04 +08:00
}
@keyframes spin {
2014-04-10 21:55:00 +08:00
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
2013-05-16 15:19:04 +08:00
}