-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathloading.html
More file actions
42 lines (42 loc) · 1.13 KB
/
loading.html
File metadata and controls
42 lines (42 loc) · 1.13 KB
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
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #1a1a1a;
color: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.loader { text-align: center; }
@-webkit-keyframes spin {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid #333;
border-top-color: #fff;
border-radius: 50%;
-webkit-animation: spin 1s linear infinite;
animation: spin 1s linear infinite;
margin: 0 auto 16px;
}
</style>
</head>
<body>
<div class="loader">
<div class="spinner"></div>
<div>Loading...</div>
</div>
</body>
</html>