mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Step): add transition
This commit is contained in:
parent
0738f3baac
commit
3cc99b3abe
@ -17,6 +17,7 @@
|
|||||||
&__line {
|
&__line {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: @step-line-color;
|
background-color: @step-line-color;
|
||||||
|
transition: background-color @animation-duration-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--horizontal {
|
&--horizontal {
|
||||||
@ -141,6 +142,8 @@
|
|||||||
|
|
||||||
&__icon,
|
&__icon,
|
||||||
&__title {
|
&__title {
|
||||||
|
transition: color @animation-duration-base;
|
||||||
|
|
||||||
&--active {
|
&--active {
|
||||||
color: @step-active-color;
|
color: @step-active-color;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user