mirror of
https://github.com/l-lin/font-awesome-animation.git
synced 2024-12-29 23:11:32 +08:00
33 lines
749 B
Plaintext
33 lines
749 B
Plaintext
|
// Spinning Icons
|
||
|
// --------------------------
|
||
|
|
||
|
.@{fa-css-prefix}-spin {
|
||
|
-webkit-animation: spin 2s infinite linear;
|
||
|
-moz-animation: spin 2s infinite linear;
|
||
|
-o-animation: spin 2s infinite linear;
|
||
|
animation: spin 2s infinite linear;
|
||
|
}
|
||
|
|
||
|
@-moz-keyframes spin {
|
||
|
0% { -moz-transform: rotate(0deg); }
|
||
|
100% { -moz-transform: rotate(359deg); }
|
||
|
}
|
||
|
@-webkit-keyframes spin {
|
||
|
0% { -webkit-transform: rotate(0deg); }
|
||
|
100% { -webkit-transform: rotate(359deg); }
|
||
|
}
|
||
|
@-o-keyframes spin {
|
||
|
0% { -o-transform: rotate(0deg); }
|
||
|
100% { -o-transform: rotate(359deg); }
|
||
|
}
|
||
|
@keyframes spin {
|
||
|
0% {
|
||
|
-webkit-transform: rotate(0deg);
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
100% {
|
||
|
-webkit-transform: rotate(359deg);
|
||
|
transform: rotate(359deg);
|
||
|
}
|
||
|
}
|