From c2cdcda6ae1d9610f42c09525860d159e40afe6f Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 04 六月 2024 14:22:55 +0800
Subject: [PATCH] feat:添加过渡效果

---
 src/style.css |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/style.css b/src/style.css
index 40f37b4..e31cda7 100644
--- a/src/style.css
+++ b/src/style.css
@@ -21,3 +21,18 @@
   display: block;
 }
 
+/* fade-transform */
+.fade-transform-leave-active,
+.fade-transform-enter-active {
+  transition: all 0.2s;
+}
+.fade-transform-enter-from {
+  opacity: 0;
+  transition: all 0.2s;
+  transform: translateX(-30px);
+}
+.fade-transform-leave-to {
+  opacity: 0;
+  transition: all 0.2s;
+  transform: translateX(30px);
+}
\ No newline at end of file

--
Gitblit v1.8.0