From ebbd788fbb2c0b45d4473798efc57eec8ba74a25 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 18 六月 2024 14:51:16 +0800 Subject: [PATCH] 版本更新至2.11.5 --- src/design/transition/fade.less | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/design/transition/fade.less b/src/design/transition/fade.less index 6ed1771..70c79c5 100644 --- a/src/design/transition/fade.less +++ b/src/design/transition/fade.less @@ -27,13 +27,13 @@ } .fade-slide-enter-from { - opacity: 0; transform: translateX(-30px); + opacity: 0; } .fade-slide-leave-to { - opacity: 0; transform: translateX(30px); + opacity: 0; } // /////////////////////////////////////////////// @@ -43,17 +43,19 @@ // Speed: 1x .fade-bottom-enter-active, .fade-bottom-leave-active { - transition: opacity 0.25s, transform 0.3s; + transition: + opacity 0.25s, + transform 0.3s; } .fade-bottom-enter-from { - opacity: 0; transform: translateY(-10%); + opacity: 0; } .fade-bottom-leave-to { - opacity: 0; transform: translateY(10%); + opacity: 0; } // fade-scale @@ -63,13 +65,13 @@ } .fade-scale-enter-from { - opacity: 0; transform: scale(1.2); + opacity: 0; } .fade-scale-leave-to { - opacity: 0; transform: scale(0.8); + opacity: 0; } // /////////////////////////////////////////////// @@ -79,15 +81,17 @@ // Speed: 1x .fade-top-enter-active, .fade-top-leave-active { - transition: opacity 0.2s, transform 0.25s; + transition: + opacity 0.2s, + transform 0.25s; } .fade-top-enter-from { - opacity: 0; transform: translateY(8%); + opacity: 0; } .fade-top-leave-to { - opacity: 0; transform: translateY(-8%); + opacity: 0; } -- Gitblit v1.9.3