Fork-Awesome/scss/_animated.scss

35 lines
805 B
SCSS
Raw Permalink Normal View History

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