File size: 8,817 Bytes
98c641a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Anton">
  <style>body {
  background: #000;
  height: 100vh;
  overflow: hidden;
  display: flex;
  font-family: 'Anton', sans-serif;
  justify-content: center;
  align-items: center; }

#waves {
  width: 100%;
  height: 100%; }
  #waves .wave {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    clip-path: polygon(50% 50%, 47.5% 0%, 52.5% 0%);
    overflow: hidden;
    backface-visibility: hidden;
    mix-blend-mode: screen; }
    #waves .wave::before {
      content: '';
      position: absolute;
      top: 50%;
      left: calc(50% - 40px);
      height: 100px;
      width: 100px;
      border-radius: 100%;
      background: red;
      backface-visibility: hidden; }
    #waves .wave:nth-child(1) {
      transform: rotateZ(0deg) translate(20px, 10px); }
      #waves .wave:nth-child(1)::before {
        animation: wavy 3600ms 0ms ease-in infinite; }
    #waves .wave:nth-child(2) {
      transform: rotateZ(10deg) translate(20px, 10px); }
      #waves .wave:nth-child(2)::before {
        animation: wavy 3600ms 100ms ease-in infinite; }
    #waves .wave:nth-child(3) {
      transform: rotateZ(20deg) translate(20px, 10px); }
      #waves .wave:nth-child(3)::before {
        animation: wavy 3600ms 200ms ease-in infinite; }
    #waves .wave:nth-child(4) {
      transform: rotateZ(30deg) translate(20px, 10px); }
      #waves .wave:nth-child(4)::before {
        animation: wavy 3600ms 300ms ease-in infinite; }
    #waves .wave:nth-child(5) {
      transform: rotateZ(40deg) translate(20px, 10px); }
      #waves .wave:nth-child(5)::before {
        animation: wavy 3600ms 400ms ease-in infinite; }
    #waves .wave:nth-child(6) {
      transform: rotateZ(50deg) translate(20px, 10px); }
      #waves .wave:nth-child(6)::before {
        animation: wavy 3600ms 500ms ease-in infinite; }
    #waves .wave:nth-child(7) {
      transform: rotateZ(60deg) translate(20px, 10px); }
      #waves .wave:nth-child(7)::before {
        animation: wavy 3600ms 600ms ease-in infinite; }
    #waves .wave:nth-child(8) {
      transform: rotateZ(70deg) translate(20px, 10px); }
      #waves .wave:nth-child(8)::before {
        animation: wavy 3600ms 700ms ease-in infinite; }
    #waves .wave:nth-child(9) {
      transform: rotateZ(80deg) translate(20px, 10px); }
      #waves .wave:nth-child(9)::before {
        animation: wavy 3600ms 800ms ease-in infinite; }
    #waves .wave:nth-child(10) {
      transform: rotateZ(90deg) translate(20px, 10px); }
      #waves .wave:nth-child(10)::before {
        animation: wavy 3600ms 900ms ease-in infinite; }
    #waves .wave:nth-child(11) {
      transform: rotateZ(100deg) translate(20px, 10px); }
      #waves .wave:nth-child(11)::before {
        animation: wavy 3600ms 1000ms ease-in infinite; }
    #waves .wave:nth-child(12) {
      transform: rotateZ(110deg) translate(20px, 10px); }
      #waves .wave:nth-child(12)::before {
        animation: wavy 3600ms 1100ms ease-in infinite; }
    #waves .wave:nth-child(13) {
      transform: rotateZ(120deg) translate(20px, 10px); }
      #waves .wave:nth-child(13)::before {
        animation: wavy 3600ms 1200ms ease-in infinite; }
    #waves .wave:nth-child(14) {
      transform: rotateZ(130deg) translate(20px, 10px); }
      #waves .wave:nth-child(14)::before {
        animation: wavy 3600ms 1300ms ease-in infinite; }
    #waves .wave:nth-child(15) {
      transform: rotateZ(140deg) translate(20px, 10px); }
      #waves .wave:nth-child(15)::before {
        animation: wavy 3600ms 1400ms ease-in infinite; }
    #waves .wave:nth-child(16) {
      transform: rotateZ(150deg) translate(20px, 10px); }
      #waves .wave:nth-child(16)::before {
        animation: wavy 3600ms 1500ms ease-in infinite; }
    #waves .wave:nth-child(17) {
      transform: rotateZ(160deg) translate(20px, 10px); }
      #waves .wave:nth-child(17)::before {
        animation: wavy 3600ms 1600ms ease-in infinite; }
    #waves .wave:nth-child(18) {
      transform: rotateZ(170deg) translate(20px, 10px); }
      #waves .wave:nth-child(18)::before {
        animation: wavy 3600ms 1700ms ease-in infinite; }
    #waves .wave:nth-child(19) {
      transform: rotateZ(180deg) translate(20px, 10px); }
      #waves .wave:nth-child(19)::before {
        animation: wavy 3600ms 1800ms ease-in infinite; }
    #waves .wave:nth-child(20) {
      transform: rotateZ(190deg) translate(20px, 10px); }
      #waves .wave:nth-child(20)::before {
        animation: wavy 3600ms 1900ms ease-in infinite; }
    #waves .wave:nth-child(21) {
      transform: rotateZ(200deg) translate(20px, 10px); }
      #waves .wave:nth-child(21)::before {
        animation: wavy 3600ms 2000ms ease-in infinite; }
    #waves .wave:nth-child(22) {
      transform: rotateZ(210deg) translate(20px, 10px); }
      #waves .wave:nth-child(22)::before {
        animation: wavy 3600ms 2100ms ease-in infinite; }
    #waves .wave:nth-child(23) {
      transform: rotateZ(220deg) translate(20px, 10px); }
      #waves .wave:nth-child(23)::before {
        animation: wavy 3600ms 2200ms ease-in infinite; }
    #waves .wave:nth-child(24) {
      transform: rotateZ(230deg) translate(20px, 10px); }
      #waves .wave:nth-child(24)::before {
        animation: wavy 3600ms 2300ms ease-in infinite; }
    #waves .wave:nth-child(25) {
      transform: rotateZ(240deg) translate(20px, 10px); }
      #waves .wave:nth-child(25)::before {
        animation: wavy 3600ms 2400ms ease-in infinite; }
    #waves .wave:nth-child(26) {
      transform: rotateZ(250deg) translate(20px, 10px); }
      #waves .wave:nth-child(26)::before {
        animation: wavy 3600ms 2500ms ease-in infinite; }
    #waves .wave:nth-child(27) {
      transform: rotateZ(260deg) translate(20px, 10px); }
      #waves .wave:nth-child(27)::before {
        animation: wavy 3600ms 2600ms ease-in infinite; }
    #waves .wave:nth-child(28) {
      transform: rotateZ(270deg) translate(20px, 10px); }
      #waves .wave:nth-child(28)::before {
        animation: wavy 3600ms 2700ms ease-in infinite; }
    #waves .wave:nth-child(29) {
      transform: rotateZ(280deg) translate(20px, 10px); }
      #waves .wave:nth-child(29)::before {
        animation: wavy 3600ms 2800ms ease-in infinite; }
    #waves .wave:nth-child(30) {
      transform: rotateZ(290deg) translate(20px, 10px); }
      #waves .wave:nth-child(30)::before {
        animation: wavy 3600ms 2900ms ease-in infinite; }
    #waves .wave:nth-child(31) {
      transform: rotateZ(300deg) translate(20px, 10px); }
      #waves .wave:nth-child(31)::before {
        animation: wavy 3600ms 3000ms ease-in infinite; }
    #waves .wave:nth-child(32) {
      transform: rotateZ(310deg) translate(20px, 10px); }
      #waves .wave:nth-child(32)::before {
        animation: wavy 3600ms 3100ms ease-in infinite; }
    #waves .wave:nth-child(33) {
      transform: rotateZ(320deg) translate(20px, 10px); }
      #waves .wave:nth-child(33)::before {
        animation: wavy 3600ms 3200ms ease-in infinite; }
    #waves .wave:nth-child(34) {
      transform: rotateZ(330deg) translate(20px, 10px); }
      #waves .wave:nth-child(34)::before {
        animation: wavy 3600ms 3300ms ease-in infinite; }
    #waves .wave:nth-child(35) {
      transform: rotateZ(340deg) translate(20px, 10px); }
      #waves .wave:nth-child(35)::before {
        animation: wavy 3600ms 3400ms ease-in infinite; }
    #waves .wave:nth-child(36) {
      transform: rotateZ(350deg) translate(20px, 10px); }
      #waves .wave:nth-child(36)::before {
        animation: wavy 3600ms 3500ms ease-in infinite; }

@keyframes wavy {
  0% {
    transform: translateY(0px); }
  100% {
    transform: translateY(-400px);
    height: 50px;
    left: calc(50% - 150px);
    background: blue; } }
</style>
</head>
<body>
  <div id="waves"><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div><div class="wave"></div></div>
  <script></script>
</body>
</html>