Skip to content

Commit

Permalink
refactor: 타이틀 그라데이션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sikkzz committed Feb 22, 2025
1 parent d878a1d commit 97bb80f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/pages/HomePage/HomePage.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down Expand Up @@ -76,9 +78,9 @@

@keyframes gradient {
0% {
background-position: 0% center;
background-position: 200% center;
}
100% {
background-position: 200% center;
background-position: 0% center;
}
}

0 comments on commit 97bb80f

Please sign in to comment.