-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (51 loc) · 1010 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<body>
<h1>
<span class="text">
<span class="magic-text">Vanguard</span>
</span>
</h1>
</body>
</html>
<style>
:root {
--colorOne: rgb(74, 192, 247);
--colorTwo: rgb(84, 174, 177);
--colorThree: rgb(121, 58, 204);
}
@keyframes background-pan {
from {
background-position: 0% center;
}
to {
background-position: -200% center;
}
}
h1 {
color: white;
font-family: 'Ambit';
font-size: 80px;
font-weight: 700;
margin: 0px;
text-align: left;
}
h1 > .text {
display: inline-block;
position: relative;
}
h1 > .text > .magic-text {
animation: background-pan 3s linear infinite;
background: linear-gradient(
to right,
var(--colorOne),
var(--colorTwo),
var(--colorThree),
var(--colorOne)
);
background-size: 200%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
white-space: nowrap;
}
</style>