aboutsummaryrefslogtreecommitdiffstats
path: root/library/font_awesome/scss/_animated.scss
diff options
context:
space:
mode:
Diffstat (limited to 'library/font_awesome/scss/_animated.scss')
-rw-r--r--library/font_awesome/scss/_animated.scss34
1 files changed, 34 insertions, 0 deletions
diff --git a/library/font_awesome/scss/_animated.scss b/library/font_awesome/scss/_animated.scss
new file mode 100644
index 000000000..8a020dbff
--- /dev/null
+++ b/library/font_awesome/scss/_animated.scss
@@ -0,0 +1,34 @@
+// Spinning Icons
+// --------------------------
+
+.#{$fa-css-prefix}-spin {
+ -webkit-animation: fa-spin 2s infinite linear;
+ animation: fa-spin 2s infinite linear;
+}
+
+.#{$fa-css-prefix}-pulse {
+ -webkit-animation: fa-spin 1s infinite steps(8);
+ animation: fa-spin 1s infinite steps(8);
+}
+
+@-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);
+ }
+}