Font-Awesome/scss/_spinning.scss
Tech No Freaky 12efc9c7f0 Added Hover Spin Class [Cloned SPIN Class And Added Hover]
Added A New Class Cloned By fa-spin Class

New Class Name : fa-spin-hover
it will spin when element is hovered.
2015-01-12 09:38:49 +05:30

35 lines
716 B
SCSS

// Spinning Icons
// --------------------------
.#{$fa-css-prefix}-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
.#{$fa-css-prefix}-spin-hover {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}