From accdd78871a77a48227d91243f8eae7bd06580f1 Mon Sep 17 00:00:00 2001 From: sikkzz Date: Sat, 22 Feb 2025 13:42:53 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=83=80=EC=9D=B4=ED=8B=80=20?= =?UTF-8?q?=EA=B7=B8=EB=9D=BC=EB=8D=B0=EC=9D=B4=EC=85=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/HomePage/HomePage.module.scss | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/HomePage/HomePage.module.scss b/src/pages/HomePage/HomePage.module.scss index 3949e0a..bf2e739 100644 --- a/src/pages/HomePage/HomePage.module.scss +++ b/src/pages/HomePage/HomePage.module.scss @@ -30,7 +30,9 @@ @include titleLg; line-height: 1.5; - background-image: var(--color-text-gradient); + + background-image: linear-gradient(90deg, #7953cd 20%, #d444ba 30%, #b544d4 70%, #764ada 80%); + -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; @@ -39,7 +41,7 @@ background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; - animation: gradient 4s linear infinite; + animation: gradient 3s linear infinite; } .HomeTop { @@ -76,9 +78,9 @@ @keyframes gradient { 0% { - background-position: 0% center; + background-position: 200% center; } 100% { - background-position: 200% center; + background-position: 0% center; } }