소스 검색

优化进度动画

Michael Wang 3 년 전
부모
커밋
90b64971f3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/features/mark/MarkHeader.vue

+ 2 - 2
src/features/mark/MarkHeader.vue

@@ -520,11 +520,11 @@ let todoCount = $computed(() =>
 
 .count-animation-enter-active,
 .count-animation-leave-active {
-  transition: all 1s ease;
+  transition: all 1.2s ease-in-out;
 }
 .count-animation-enter-from,
 .count-animation-leave-to {
   opacity: 0;
-  transform: translateY(30px);
+  transform: translateY(18px);
 }
 </style>