From 3cc99b3abe11fc5fc0494f2f90cef33be2383ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 30 Jan 2020 10:28:41 +0800 Subject: [PATCH] feat(Step): add transition --- src/step/index.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/step/index.less b/src/step/index.less index d4a7dcb95..8ecc8ca13 100644 --- a/src/step/index.less +++ b/src/step/index.less @@ -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; }