From 7578617c22481d6df0bf838da4791400b2e5e163 Mon Sep 17 00:00:00 2001 From: Chi-Yuan Chen <157-cychen2602@users.noreply.git.cs.nctu.edu.tw> Date: Fri, 22 Jan 2021 03:52:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20news/header.scss=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=20jump=20=E5=8B=95=E7=95=AB=E6=95=88?= =?UTF-8?q?=E6=9E=9C=EF=BC=8C=E8=A7=A3=E6=B1=BA=E5=9B=A0=E7=82=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20bottom=20=E8=80=8C=E4=BD=8D=E7=BD=AE=E6=94=B9?= =?UTF-8?q?=E8=AE=8A=EF=BC=8C=E9=80=A0=E6=88=90=20unhover=20=E5=B0=8E?= =?UTF-8?q?=E8=87=B4=20button=20=E6=8A=BD=E6=90=90=E7=9A=84=E7=8F=BE?= =?UTF-8?q?=E8=B1=A1=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/news/header.scss | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/assets/scss/news/header.scss b/src/assets/scss/news/header.scss index e33c73d..64ae3a0 100644 --- a/src/assets/scss/news/header.scss +++ b/src/assets/scss/news/header.scss @@ -31,18 +31,9 @@ 0px 0px 10px 0px rgba(0, 0, 0, 0.2); @keyframes jump { - 0% { - position: relative; - bottom: 0px; - } 50% { - position: relative; - bottom: 20px; - } - 100% { - position: relative; - bottom: 0px; - } + transform: translateY(-5px) rotate(45deg) ; + } } &:hover {