From a10704bc440a8bd14501c1591c33ec91dc7d25bd Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 18 Mar 2017 15:32:29 +0800 Subject: [PATCH] Tweak steps animation style --- components/steps/style/index.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/components/steps/style/index.less b/components/steps/style/index.less index cd91c95807..abb6a49e16 100644 --- a/components/steps/style/index.less +++ b/components/steps/style/index.less @@ -90,8 +90,10 @@ .@{steps-prefix-cls}-tail > i:after { width: 100%; background: @finish-tail-color; - transition: all 0.6s; + transition: all .6s; opacity: 1; + box-shadow: 0 0 0 0 @primary-color; + animation: tailEffect .4s; } .@{steps-prefix-cls}-title { color: @finish-title-color; @@ -454,3 +456,9 @@ } } } + +@keyframes tailEffect { + to { + box-shadow: 0 0 3px 3px transparent; + } +}