panhui 3 lat temu
rodzic
commit
26a8f415cd
2 zmienionych plików z 7 dodań i 1 usunięć
  1. 6 0
      src/styles/animate.css
  2. 1 1
      src/views/TabsPage.vue

+ 6 - 0
src/styles/animate.css

@@ -40,6 +40,12 @@
     -webkit-animation-iteration-count: calc(var(--animate-repeat) * 3);
     animation-iteration-count: calc(var(--animate-repeat) * 3);
 }
+.animate__animated.animate__repeat-10 {
+    -webkit-animation-iteration-count: 10;
+    animation-iteration-count: 10;
+    -webkit-animation-iteration-count: calc(var(--animate-repeat) * 10);
+    animation-iteration-count: calc(var(--animate-repeat) * 10);
+}
 .animate__animated.animate__delay-1s {
     -webkit-animation-delay: 1s;
     animation-delay: 1s;

+ 1 - 1
src/views/TabsPage.vue

@@ -4,7 +4,7 @@
             <img
                 :src="tabIconRank"
                 @click="goRank"
-                class="btn-float animate__wobble animate__animated animate__infinite"
+                class="btn-float animate__tada animate__animated animate__repeat-10"
                 alt=""
             />
             <ion-router-outlet></ion-router-outlet>