Skip to content

Commit accdd78

Browse files
committed
refactor: 타이틀 그라데이션 수정
1 parent a67a3df commit accdd78

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/pages/HomePage/HomePage.module.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
@include titleLg;
3131

3232
line-height: 1.5;
33-
background-image: var(--color-text-gradient);
33+
34+
background-image: linear-gradient(90deg, #7953cd 20%, #d444ba 30%, #b544d4 70%, #764ada 80%);
35+
3436
-webkit-background-clip: text;
3537
background-clip: text;
3638
-webkit-text-fill-color: transparent;
@@ -39,7 +41,7 @@
3941
background-size: 200% auto;
4042
-webkit-background-clip: text;
4143
-webkit-text-fill-color: transparent;
42-
animation: gradient 4s linear infinite;
44+
animation: gradient 3s linear infinite;
4345
}
4446

4547
.HomeTop {
@@ -76,9 +78,9 @@
7678

7779
@keyframes gradient {
7880
0% {
79-
background-position: 0% center;
81+
background-position: 200% center;
8082
}
8183
100% {
82-
background-position: 200% center;
84+
background-position: 0% center;
8385
}
8486
}

0 commit comments

Comments
 (0)