Skip to content

Commit b49eb9a

Browse files
committed
Interface header changed
1 parent 3027b3a commit b49eb9a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

static/style.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,22 @@ body {
1313
.header h1 {
1414
font-size: 48px;
1515
font-weight: bold;
16-
background: linear-gradient(to right, #ec4899, #a855f7, #3b82f6); /* Background gradient */
17-
-webkit-background-clip: text; /* Vendor-prefixed for WebKit-based browsers */
18-
background-clip: text; /* Standard property */
19-
-webkit-text-fill-color: transparent; /* Makes the text transparent */
16+
background: linear-gradient(90deg, #ec4899, #a855f7, #3b82f6, #ec4899);
17+
background-size: 300%;
18+
-webkit-background-clip: text;
19+
background-clip: text;
20+
-webkit-text-fill-color: transparent;
21+
animation: scroll-gradient 5s linear infinite;
22+
}
23+
24+
/* Keyframes for scrolling the gradient */
25+
@keyframes scroll-gradient {
26+
0% {
27+
background-position: 0% 50%;
28+
}
29+
100% {
30+
background-position: 100% 50%;
31+
}
2032
}
2133

2234
.subtitle {

0 commit comments

Comments
 (0)