style: fix animation css vars not work (#9337)

This commit is contained in:
neverland
2021-08-26 10:21:26 +08:00
committed by GitHub
parent 3e74e451bb
commit 229695cadc
2 changed files with 24 additions and 22 deletions
+4 -2
View File
@@ -25,7 +25,8 @@
background: var(--van-progress-color);
border-radius: inherit;
transform-origin: 0;
transition: all 0.3s ease-out;
transition: all var(--van-animation-duration-base)
var(--van-animation-timing-function-enter);
}
&__pivot {
@@ -41,6 +42,7 @@
word-break: keep-all;
background-color: var(--van-progress-pivot-background-color);
border-radius: 1em;
transition: all 0.3s ease-out;
transition: all var(--van-animation-duration-base)
var(--van-animation-timing-function-enter);
}
}