summaryrefslogtreecommitdiff
path: root/src/components/rules/RotateIcon.module.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/rules/RotateIcon.module.css')
-rw-r--r--src/components/rules/RotateIcon.module.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/rules/RotateIcon.module.css b/src/components/rules/RotateIcon.module.css
new file mode 100644
index 0000000..60748de
--- /dev/null
+++ b/src/components/rules/RotateIcon.module.css
@@ -0,0 +1,16 @@
+.rotate {
+ display: inline-flex;
+}
+.isRotating {
+ animation: rotating 3s infinite linear;
+ animation-fill-mode: forwards;
+}
+
+@keyframes rotating {
+ from {
+ transform: rotate(0deg);
+ }
+ to {
+ transform: rotate(360deg);
+ }
+}