-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsoon.html
89 lines (83 loc) · 1.99 KB
/
soon.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>soon™</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #121212;
overflow: hidden;
}
.glow-text {
font-family: "Comfortaa", cursive;
font-size: 8em;
font-weight: bold;
color: #121212;
position: relative;
text-align: center;
line-height: 1.2;
}
/* Responsive font size adjustment */
@media (max-width: 768px) {
.glow-text {
font-size: 6em;
}
}
@media (max-width: 480px) {
.glow-text {
font-size: 4em;
}
}
.glow-text::before {
content: "soon™";
position: absolute;
padding: 25vh;
background: linear-gradient(
45deg,
red,
orange,
yellow,
green,
blue,
indigo,
violet
);
background-size: 400%;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
filter: blur(12px);
animation: glow 10s infinite linear;
z-index: 1;
}
.glow-text::after {
content: "soon™";
position: absolute;
padding: 25vh;
color: #121212;
z-index: 2;
}
@keyframes glow {
0% {
background-position: 0% 50%;
}
100% {
background-position: 400% 50%;
}
}
</style>
</head>
<body class="glow-text"></body>
</html>