mirror of
https://github.com/ForkAwesome/Fork-Awesome
synced 2024-06-08 08:42:28 +02:00
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
---
|
|
---
|
|
/* EXTRAS
|
|
* -------------------------- */
|
|
|
|
/* Stacked and layered icon */
|
|
.{{ site.fontawesome.css_prefix }}-stack();
|
|
|
|
/* Animated rotating icon */
|
|
.{{ site.fontawesome.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); }
|
|
}
|
|
@-ms-keyframes spin {
|
|
0% { -ms-transform: rotate(0deg); }
|
|
100% { -ms-transform: rotate(359deg); }
|
|
}
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(359deg); }
|
|
}
|
|
|
|
|
|
// Icon rotations & flipping
|
|
// -------------------------
|
|
|
|
.{{ site.fontawesome.css_prefix }}-rotate-90 { .{{ site.fontawesome.css_prefix }}-rotate(90deg, 1); }
|
|
.{{ site.fontawesome.css_prefix }}-rotate-180 { .{{ site.fontawesome.css_prefix }}-rotate(180deg, 2); }
|
|
.{{ site.fontawesome.css_prefix }}-rotate-270 { .{{ site.fontawesome.css_prefix }}-rotate(270deg, 3); }
|
|
|
|
.{{ site.fontawesome.css_prefix }}-flip-horizontal { .{{ site.fontawesome.css_prefix }}-flip(-1, 1); }
|
|
.{{ site.fontawesome.css_prefix }}-flip-vertical { .{{ site.fontawesome.css_prefix }}-flip(1, -1); }
|