From e95a2720716ea1c6e0c499c6417d94b1a380d76f Mon Sep 17 00:00:00 2001 From: lutinglt Date: Fri, 10 Jan 2025 11:24:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4=E8=BF=87?= =?UTF-8?q?=E6=B8=A1=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 2 +- src/transition.scss | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/release.md b/.github/release.md index 1d90116..385993f 100644 --- a/.github/release.md +++ b/.github/release.md @@ -1 +1 @@ -仓库编程语言字体颜色同步 Github \ No newline at end of file +添加默认过渡动画 \ No newline at end of file diff --git a/src/transition.scss b/src/transition.scss index 88e566d..2d7b94d 100644 --- a/src/transition.scss +++ b/src/transition.scss @@ -1,4 +1,16 @@ // Made by Luting ^-^ +@keyframes overlay-appear { + 0% { + opacity: 0; + transform: translateY(-5%); + } + + 100% { + opacity: 1; + transform: translateY(0); + } +} + input, textarea, tr, @@ -43,4 +55,5 @@ details summary, .ui.vertical.menu .header.item, .ui.secondary.menu .item { transition: 0.2s; + animation: 200ms cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running overlay-appear; }