chore: 适配@keyframes默认的命名规则

This commit is contained in:
xiaoxian521
2023-05-04 13:51:24 +08:00
parent afc15ea8df
commit 6176d9508b
3 changed files with 6 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
@keyframes scheduleInWidth {
@keyframes schedule-in-width {
from {
width: 0;
}
@@ -8,7 +8,7 @@
}
}
@keyframes scheduleOutWidth {
@keyframes schedule-out-width {
from {
width: 100%;
}
@@ -280,7 +280,7 @@
width: 100%;
height: 2px;
background: var(--el-color-primary);
animation: scheduleInWidth 200ms ease-in;
animation: schedule-in-width 200ms ease-in;
}
/* 灵动模式下鼠标移出隐藏蓝色进度条 */
@@ -291,5 +291,5 @@
width: 0;
height: 2px;
background: var(--el-color-primary);
animation: scheduleOutWidth 200ms ease-in;
animation: schedule-out-width 200ms ease-in;
}