-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
87 lines (85 loc) · 1.9 KB
/
style.css
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
@import url(https://fonts.googleapis.com/css?family=Bad+Script|Lato:400,700);
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Bad Script", cursive;
}
main {
display: inline-block;
}
body {
display: flex;
justify-content: center;
align-content: center;
min-height: 100vh;
background: #111;
}
h2 {
display: flex;
color: transparent;
font-size: 15vw;
}
h2 span {
animation: animate 3s linear infinite;
animation-delay: calc(0.1s * var(--i));
}
footer {
margin-top: 4vh;
/* color: transparent; */
color: white;
text-align: right;
align-content: right;
font-size: 3vw;
}
footer span {
animation: animate1 3s linear infinite;
animation-delay: calc(0.1s * var(--i));
}
@keyframes animate {
0% {
color: #fff;
filter: blur(2px) hue-rotate(0deg);
text-shadow: 0 0 10px #00b3ff, 0 0 20px #00b3ff, 0 0 40px #00b3ff,
0 0 80px #00b3ff, 0 0 120px #00b3ff, 0 0 200px #00b3ff, 0 0 300px #00b3ff,
0 0 400px #00b3ff;
}
30%,
70% {
color: #fff;
filter: blur(2px) hue-rotate(360deg);
text-shadow: 0 0 10px #00b3ff, 0 0 20px #00b3ff, 0 0 40px #00b3ff,
0 0 80px #00b3ff, 0 0 120px #00b3ff, 0 0 200px #00b3ff;
}
100% {
color: transparent;
box-shadow: none;
filter: blur(2px) hue-rotate(0deg);
}
}
@keyframes animate1 {
0% {
color: #fff;
filter: blur(1px) hue-rotate(0deg);
text-shadow: 0 0 10px #00b3ff, 0 0 10px #00b3ff, 0 0 20px #00b3ff,
0 0 30px #00b3ff, 0 0 40px #00b3ff, 0 050px #00b3ff, 0 0 60px #00b3ff,
0 0 400px #00b3ff;
}
30%,
70% {
color: #fff;
filter: blur(1px) hue-rotate(360deg);
text-shadow: 0 0 10px #00b3ff, 0 0 20px #00b3ff, 0 0 30px #00b3ff,
0 0 40px #00b3ff, 0 0 50px #00b3ff, 0 0 60px #00b3ff;
}
100% {
color: transparent;
box-shadow: none;
filter: blur(1px) hue-rotate(0deg);
}
}
@media screen and (max-width: 1000px) {
body{
align-items: center;
}
}