mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
feat(Step): add transition
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user