style: fix animation css vars not work (#9337)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user