-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
66 lines (65 loc) · 1.29 KB
/
style.css
File metadata and controls
66 lines (65 loc) · 1.29 KB
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
@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');
body
{
margin: 0;
padding: 0;
overflow: hidden;
box-sizing: border-box;
font-family: 'Poppins', sans-serief;
}
.liquid
{
position: relative;
width: 100%;
height: 100%;
display: block;
vertical-align: center;
margin-left: 15%;
margin-top: 5%;
justify-content: center;
align-items: center;
background: #183954;
}
.liquid h2
{
position: absolute;
font-size: 9.5vw;
}
.liquid h2:nth-child(1)
{
color: #fff;
text-shadow: -2px 2px 0px #183954,
-4px 4px 0px #183954,
-6px 6px 0px #183954,
-8px 8px 0px #183954,
-18px 18px 20px rgba(0,0,0,0.5),
-18px 18px 50px rgba(0,0,0,0.5);
}
.liquid h2:nth-child(2)
{
color: #2196f3;
opacity: 0.4;
animation: animate 3s ease-in-out infinite;
}
.liquid h2:nth-child(3)
{
color: #2196f3;
opacity: 0.4;
animation: animate 6s ease-in-out infinite;
}
.liquid h2:nth-child(4)
{
color: #2196f3;
animation: animate 4s ease-in-out infinite;
}
@keyframes animate
{
0%, 100%
{
clip-path: polygon(0% 46%, 16% 45%, 34% 52%, 50% 61%, 68% 65%, 85% 61%, 100% 53%, 100% 100%, 0% 100%);
}
50%
{
clip-path: polygon(0% 59%, 18% 67%, 36% 70%, 51% 66%, 66% 56%, 82% 49%, 100% 45%, 100% 100%, 0% 100%);
}
}