Fork-Awesome/assets/font-awesome/scss/_animated.scss

35 lines
715 B
SCSS
Raw Normal View History

2013-10-23 23:12:39 +08:00
// Spinning Icons
// --------------------------
.#{$fa-css-prefix}-spin {
2014-08-27 00:51:53 +08:00
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
2013-10-23 23:12:39 +08:00
}
2015-01-23 02:55:45 +08:00
.#{$fa-css-prefix}-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
}
2014-08-27 00:51:53 +08:00
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
2013-10-23 23:12:39 +08:00
}
2014-08-27 00:51:53 +08:00
@keyframes fa-spin {
2014-05-15 04:13:14 +08:00
0% {
-webkit-transform: rotate(0deg);
2014-08-27 00:51:53 +08:00
transform: rotate(0deg);
2014-05-15 04:13:14 +08:00
}
100% {
-webkit-transform: rotate(359deg);
2014-08-27 00:51:53 +08:00
transform: rotate(359deg);
2014-05-15 04:13:14 +08:00
}
2013-10-23 23:12:39 +08:00
}