From a46431a0821d943d2edeabdacf3add11743acb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Tue, 28 Mar 2023 10:25:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E8=BF=91=E5=AD=A6=E4=B9=A0=E8=AF=BE?= =?UTF-8?q?=E7=A8=8Bhover=E5=8A=A8=E7=94=BB=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/latest-learn/index.module.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/latest-learn/index.module.scss b/src/pages/latest-learn/index.module.scss index 15d9e12..3bf1cfb 100644 --- a/src/pages/latest-learn/index.module.scss +++ b/src/pages/latest-learn/index.module.scss @@ -16,10 +16,13 @@ align-items: center; box-sizing: border-box; padding: 24px; + transition: all 0.3s; cursor: pointer; &:hover { border: none; box-shadow: 0px 4px 16px 8px rgba(0, 0, 0, 0.04); + transition: all 0.3s; + transform: translateY(-5px); } .item-info { flex: 1;