-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathstyle.css
119 lines (113 loc) · 2.38 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
* {
margin: 0;
padding: 0;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #1d1e2c;
}
.wave{
height: 306px;
width: 306px;
transform-style: preserve-3d;
transform: perspective(500px) rotateX(60deg);
}
.wave span{
position: absolute;
display: block;
border: 3px solid #00802A;
border-radius: 50%;
box-shadow: 0 5px 0 #014d1a;
animation: animate 3s ease-in-out infinite;
}
@keyframes animate {
0%,100%{
transform:translateZ(-100px);
}
50%{
transform: translateZ(100px);
}
}
.wave span:nth-child(1), .wave span:nth-child(5), .wave span:nth-child(9), .wave span:nth-child(13) {
border-color: #F8F2FF;
box-shadow: 0 5px 0 #c5c2c9;
}
.wave span:nth-child(2), .wave span:nth-child(6), .wave span:nth-child(10), .wave span:nth-child(14) {
border-color: #3FC1C9;
box-shadow: 0 5px 0 #339da3;
}
.wave span:nth-child(3), .wave span:nth-child(7), .wave span:nth-child(11), .wave span:nth-child(15) {
border-color: #FC5185;
box-shadow: 0 5px 0 #c53963;
}
.wave span:nth-child(4), .wave span:nth-child(8), .wave span:nth-child(12), .wave span:nth-child(16) {
border-color: #5d23a4;
box-shadow: 0 5px 0 #4b247a;
}
.wave span:nth-child(1){
inset: 0;
animation-delay: 1.6s;
}
.wave span:nth-child(2){
inset: 10px;
animation-delay: 1.5s;
}
.wave span:nth-child(3){
inset: 20px;
animation-delay: 1.4s;
}
.wave span:nth-child(4){
inset: 30px;
animation-delay: 1.3s;
}
.wave span:nth-child(5){
inset: 40px;
animation-delay: 1.2s;
}
.wave span:nth-child(6){
inset: 50px;
animation-delay: 1.1s;
}
.wave span:nth-child(7){
inset: 60px;
animation-delay: 1s;
}
.wave span:nth-child(8){
inset: 70px;
animation-delay: 0.9s;
}
.wave span:nth-child(9){
inset: 80px;
animation-delay: 0.8s;
}
.wave span:nth-child(10){
inset: 90px;
animation-delay: 0.7s;
}
.wave span:nth-child(11){
inset: 100px;
animation-delay: 0.6s;
}
.wave span:nth-child(12){
inset: 110px;
animation-delay: 0.5s;
}
.wave span:nth-child(13){
inset: 120px;
animation-delay: 0.4s;
}
.wave span:nth-child(14){
inset: 130px;
animation-delay: 0.3s;
}
.wave span:nth-child(15){
inset: 140px;
animation-delay: 0.2s;
}
.wave span:nth-child(16){
inset: 150px;
animation-delay: 0.1s;
}