-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (64 loc) · 1.5 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Loader</title>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #000000;
}
#container{
width: 100%;
height: 100vh;
position: relative;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.box{
width: 20px;
height: 60px;
background-color: #383636;
border-radius: 50px;
animation: loader 1s linear infinite;
}
#loader1{
animation-delay: .1s;
}
#loader2{
animation-delay: .2s;
}
#loader3{
animation-delay: .3s;
}
#loader4{
animation-delay: .4s;
}
#loader5{
animation-delay: .5s;
}
@keyframes loader{
0%,100%{
height: 90px;
}
50%{
height: 20px;
}
}
</style>
</head>
<body>
<div id="container">
<div class="box" id="loader1"></div>
<div class="box" id="loader2"></div>
<div class="box" id="loader3"></div>
<div class="box" id="loader4"></div>
<div class="box" id="loader5"></div>
</div>
</body>
</html>