feat(Step): add transition

This commit is contained in:
陈嘉涵 2020-01-30 10:28:41 +08:00
parent 0738f3baac
commit 3cc99b3abe

View File

@ -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;
} }