-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathload.html
91 lines (83 loc) · 2.03 KB
/
load.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
<style>
html,
body {
display: flex;
align-items: center;
justify-content: center;
background: #111;
width: 100vw;
height: 100vh;
margin: 0px;
}
#load {
background: inherit;
width: 100px;
height: 100px;
overflow: hidden;
position: relative;
border-radius: 100px;
}
#load::after {
display: block;
content: "\\>ω</";
background: inherit;
color: #eee;
font-size: 30px;
font-family: monospace;
text-align: center;
line-height: 90px;
width: 90px;
height: 90px;
position: absolute;
top: 5px;
left: 5px;
border-radius: 90px;
animation: face 2s infinite;
}
#load::before {
display: block;
content: "";
background: #eee;
width: 100px;
height: 50px;
position: absolute;
bottom: 0px;
left: 0px;
transform-origin: top;
animation: rotate 2s infinite;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
20% {
transform: rotate(90deg);
}
30% {
transform: rotate(-90deg);
}
100% {
transform: rotate(720deg);
}
}
@keyframes face {
20% {
content: "\\0ω0\\"
}
30% {
content: "/0ω0/"
}
}
</style>
</head>
<body>
<div id="load"></div>
</body>
</html>