From b3f6b04981eaefe49a17903b5d111cfab45a4b8d Mon Sep 17 00:00:00 2001 From: hsldymq Date: Wed, 13 Apr 2022 00:15:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(Transition):=20fade-transition=E6=B7=A1?= =?UTF-8?q?=E5=87=BA=E6=B7=A1=E5=85=A5=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/design/transition/fade.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/design/transition/fade.less b/src/design/transition/fade.less index 1f8e63e8..6ed17713 100644 --- a/src/design/transition/fade.less +++ b/src/design/transition/fade.less @@ -1,3 +1,15 @@ +.fade-transition { + &-enter-active, + &-leave-active { + transition: opacity 0.2s ease-in-out; + } + + &-enter-from, + &-leave-to { + opacity: 0; + } +} + .fade-enter-active, .fade-leave-active { transition: opacity 0.2s ease-in-out; -- GitLab