-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathloading.html
More file actions
51 lines (42 loc) · 851 Bytes
/
loading.html
File metadata and controls
51 lines (42 loc) · 851 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Loading</title>
</head>
<style>
* {
margin: 0;
padding: 0;
}
body {
width: 100vw;
height: 100vh;
background: #00699e;
}
.circle {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 500px;
height: 500px;
border-radius: 100%;
border: 50px solid rgba(255, 255, 255, 0.5);
border-top: 50px solid #fff;
animation: move 2s infinite linear;
}
@keyframes move {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}
</style>
<body>
<div class="circle">
</div>
</body>
</html>