Michael Wang преди 4 години
родител
ревизия
db3a4b550b
променени са 2 файла, в които са добавени 4 реда и са изтрити 6 реда
  1. 2 4
      src/features/student/inspect/MarkDrawTrack.vue
  2. 2 2
      src/features/student/studentTrack/MarkDrawTrack.vue

+ 2 - 4
src/features/student/inspect/MarkDrawTrack.vue

@@ -103,18 +103,16 @@ export default defineComponent({
   pointer-events: none;
 }
 .score-animation {
-  animation: 2s ease-in-out 0s infinite alternate change_color;
+  animation: 2s ease-in-out 0s infinite alternate change_size;
 }
 
-@keyframes change_color {
+@keyframes change_size {
   from {
-    color: red;
     font-size: 2em;
     margin-top: -100px;
     margin-left: -100px;
   }
   to {
-    color: black;
     font-size: 4em;
     margin-top: -80px;
     margin-left: -80px;

+ 2 - 2
src/features/student/studentTrack/MarkDrawTrack.vue

@@ -103,10 +103,10 @@ export default defineComponent({
   pointer-events: none;
 }
 .score-animation {
-  animation: 2s ease-in-out 0s infinite alternate change_color;
+  animation: 2s ease-in-out 0s infinite alternate change_size;
 }
 
-@keyframes change_color {
+@keyframes change_size {
   from {
     color: red;
     font-size: 2em;