-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
60 lines (59 loc) · 995 Bytes
/
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
@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
//min-height:100vh;
height: 100vh;
width: 100vw;
background: #000;
}
.main {
position: relative;
}
.main h2 {
position: absolute;
transform: translate(-50%, -50%);
font-size: 8em;
}
.main h2:nth-child(1) {
color: transparent;
-webkit-text-stroke: 0.5px #03a9f4;
}
.main h2:nth-child(2) {
color: #03a9f4;
animation: animate 4s ease-in-out infinite;
}
@keyframes animate {
0%,
100% {
clip-path: polygon(
0 47%,
22% 45%,
40% 51%,
59% 57%,
79% 53%,
98% 44%,
99% 99%,
1% 99%
);
}
50% {
clip-path: polygon(
0 59%,
15% 62%,
31% 60%,
53% 55%,
74% 46%,
100% 39%,
99% 99%,
1% 99%
);
}
}