Explorar o código

[ADD] animation on hover

Gogs %!s(int64=7) %!d(string=hai) anos
pai
achega
aec1217546
Modificáronse 1 ficheiros con 16 adicións e 0 borrados
  1. 16 0
      static/src/main.css

+ 16 - 0
static/src/main.css

@@ -9,8 +9,24 @@
 	cursor: pointer;
 	-webkit-cursor: pointer;
 	-moz-cursor: pointer;
+	animation: 0.5s menu-bell 1;
 }
 
 .eiru_sidebar_toggler i {
 	color: #fff;
+}
+
+@keyframes menu-bell {
+    0% {
+        transform: rotate(30deg);
+    }
+    25% {
+        transform: rotate(-30deg);
+    }
+    50% {
+        transform: rotate(30deg);
+    }
+    75% {
+        transform: rotate(-30deg);
+    }
 }