-
Notifications
You must be signed in to change notification settings - Fork 13
/
Progressive_loading_bar.html
54 lines (47 loc) · 1.15 KB
/
Progressive_loading_bar.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
background-color: #053A3D;
}
div {
height: 25px;
}
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40%;
margin: auto;
border: 3px solid #54e6e7;
background-color: #aac6c6;
box-shadow: 0px 0px 15px #aac6c6;
}
.progress {
width: 0%;
background-color: #1a2929;
opacity: 0.8;
animation: progress 2s infinite alternate;
}
@keyframes progress {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
</style>
</head>
<body>
<div class="container">
<div class="progress"></div>
</div>
</body>
</html>