Kaynağa Gözat

吸血鬼专题

baichun 6 yıl önce
ebeveyn
işleme
1d0256cba1

+ 3 - 3
2018专题/1807吸血鬼专题Wap-商务/src/sass/global.scss

@@ -211,11 +211,11 @@ music;
         position: absolute;
         left: 50%;
         top: 50%;
+        width: 300px;
+        height: 300px;
         transform: translate(-50%, -50%);
         background: url("../img/atlas/icon-1.png") no-repeat;
-        animation: icon1 3s steps(37) infinite;
-        // background: url("../img/atlas/icon.png") no-repeat;
-        // animation: icon 3s steps(1) infinite;
+        animation: icon1 2.4s steps(37) infinite alternate;
     }
 }
 

+ 6 - 6
2018专题/1807吸血鬼专题Wap-商务/src/sass/module/_animation.scss

@@ -401,12 +401,12 @@
 }
 
 @keyframes icon1 {
-from {
-    background-position: 0 0;
-}
-to {
-    background-position: 0 bottom;
-}
+    from {
+        background-position: 0 0;
+    }
+    to {
+        background-position: 0 bottom;
+    }
 }
 
 @keyframes icon {