-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
58 lines (57 loc) · 1.06 KB
/
app.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
body {
height: 100vh;
background-color: rgb(0, 0, 0);
display: flex;
justify-content: center;
align-items: center;
}
.container {
position: absolute;
> h1 {
font-size: 100px;
position: absolute;
transform: translate(-50%, -50%);
&:nth-child(1) {
color: transparent;
-webkit-text-stroke: 1px #0dda51;
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 25px #f4f5f7,
0 0 45px #0654f0, 0 0 70px #0654f0, 0 0 95px #0654f0, 0 0 120px #033391,
0 0 150px #032872;
}
&:nth-child(2) {
color: #0654f0;
animation: text 4s ease-in-out infinite;
}
}
}
@keyframes text {
0%,
100% {
clip-path: polygon(
0 54%,
22% 29%,
54% 60%,
78% 35%,
100% 50%,
100% 100%,
0 100%
);
}
50% {
clip-path: polygon(
0 83%,
20% 55%,
54% 75%,
69% 53%,
100% 85%,
100% 100%,
0 100%
);
}
}