-
Notifications
You must be signed in to change notification settings - Fork 0
/
load.html
executable file
·83 lines (76 loc) · 1.41 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
<html>
<head>
<style>
body {
background: url(http://s.cdpn.io/1202/tweed.png);
}
.loading {
position: absolute;
left: 50%;
top: 50%;
width: 8em;
height: 8em;
margin: -4em 0 0 -4em;
overflow: hidden;
background: rgba(0, 0, 0, 0.35);
}
.loading > div {
position: absolute;
width: 8em;
height: 8em;
animation: alpha 2.25s linear infinite forwards;
background: rgba(231, 76, 60, 0.75);
}
.loading > div:nth-child(1) {
top: -50%;
left: -50%;
}
.loading > div:nth-child(2) {
top: -50%;
right: -50%;
}
.loading > div:nth-child(3) {
bottom: -50%;
right: -50%;
}
.loading > div:nth-child(4) {
bottom: -50%;
left: -50%;
}
@keyframes alpha {
0% {
-moz-transform: rotate(0);
-ms-transform: rotate(0);
-webkit-transform: rotate(0);
transform: rotate(0);
background: rgba(231, 76, 60, 0.75);
}
25% {
background: rgba(230, 126, 34, 0.75);
}
50% {
border-radius: 50%;
background: rgba(142, 68, 173, 0.75);
}
75% {
background: rgba(41, 128, 185, 0.75);
}
100% {
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
background: rgba(231, 76, 60, 0.75);
}
}
</style>
</head>
<body>
<div class="loading">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</body>
</html>