mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
feat(Step): add transition
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
&__line {
|
||||
position: absolute;
|
||||
background-color: @step-line-color;
|
||||
transition: background-color @animation-duration-base;
|
||||
}
|
||||
|
||||
&--horizontal {
|
||||
@@ -141,6 +142,8 @@
|
||||
|
||||
&__icon,
|
||||
&__title {
|
||||
transition: color @animation-duration-base;
|
||||
|
||||
&--active {
|
||||
color: @step-active-color;
|
||||
}
|
||||
|
Reference in New Issue
Block a user