forked from jschyz/lottery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loading.html
273 lines (247 loc) · 7.19 KB
/
loading.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<title></title>
<style type="text/css">
html,body{ height: 100% }
body{
background: #4c7a9e url(img/noise.png);
}
.loading{
position: fixed;
top: 50%;
left: 50%;
z-index: 99999;
-webkit-animation: loader-in .6s;
-moz-animation: loader-in .6s;
-ms-animation: loader-in .6s;
animation: loader-in .6s;
}
/* loder in */
@-webkit-keyframes loader-in {
0% {
-webkit-transform: scale(0, 0);
}
70% {
-webkit-transform: scale(1.2, 1.2);
}
}
@-moz-keyframes loader-in {
0% {
-moz-transform: scale(0, 0);
}
70% {
-moz-transform: scale(1.2, 1.2);
}
}
@-ms-keyframes loader-in {
0% {
-ms-transform: scale(0, 0);
}
70% {
-ms-transform: scale(1.2, 1.2);
}
}
@keyframes loader-in {
0% {
-webkit-transform: scale(0, 0);
-moz-transform: scale(0, 0);
-ms-transform: scale(0, 0);
-o-transform: scale(0, 0);
transform: scale(0, 0);
}
70% {
-webkit-transform: scale(1.2, 1.2);
-moz-transform: scale(1.2, 1.2);
-ms-transform: scale(1.2, 1.2);
-o-transform: scale(1.2, 1.2);
transform: scale(1.2, 1.2);
}
}
.lab{
width: 100px;
height: 100px;
margin-left: -45px;
margin-top: -50px;
-webkit-transform: scale(.9, .9);
-moz-transform: scale(.9, .9);
-ms-transform: scale(.9, .9);
transform: scale(.9, .9);
-webkit-animation: loading 4s linear .6s 1 forwards;
-moz-animation: loading 4s linear .6s 1 forwards;
-ms-animation: loading 4s linear .6s 1 forwards;
animation: loading 4s linear .6s 1 forwards;
}
.lab svg{
/*-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);*/
}
.logo{
font-family: Arial;
font-size: 72px;
color: #f8c400;
}
/* loading */
@-webkit-keyframes loading {
50% {
opacity: .5;
}
100%{
opacity: .9;
}
}
@-moz-keyframes loading {
50% {
opacity: .5;
}
100%{
opacity: .9;
}
}
@-ms-keyframes loading {
50% {
opacity: .5;
}
100%{
opacity: .9;
}
}
@keyframes loading {
50% {
opacity: .5;
}
100%{
opacity: .9;
}
}
.highlight{
position: absolute;
top: 0;
left: 0;
z-index: -1;
margin-left: -60px;
margin-top: -75px;
width: 100px;
height: 100px;
padding: 15px;
border-radius: 100%;
box-shadow: -5px -5px 0 -5px rgba(255, 255, 255, 1);
-webkit-animation: rotate .8s linear .6s 4, large .6s 3.5s forwards;
-moz-animation: rotate .8s linear .6s 4, large .6s 3.5s forwards;
-ms-animation: rotate .8s linear .6s 4, large .6s 3.5s forwards;
animation: rotate .8s linear .6s 4, large .6s 3.5s forwards;
}
/* rotate */
@-webkit-keyframes rotate {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
@-moz-keyframes rotate {
from {
-moz-transform: rotate(0deg);
}
to {
-moz-transform: rotate(360deg);
}
}
@-ms-keyframes loader {
from {
-ms-transform: rotate(0deg);
}
to {
-ms-transform: rotate(360deg);
}
}
@keyframes rotate {
from {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes large {
to {
/*box-shadow: none;*/
box-shadow: 0 0 0 4px rgba(255, 255, 255, .8);
/*box-shadow: 0 0 0 5px rgba(255, 255, 255, .8);*/
}
}
@-moz-keyframes large {
to {
box-shadow: 0 0 0 5px rgba(255, 255, 255, .8);
}
}
@-ms-keyframes large {
to {
box-shadow: 0 0 0 5px rgba(255, 255, 255, .8);
}
}
@keyframes large {
to {
box-shadow: 0 0 0 5px rgba(255, 255, 255, .8);
}
}
.copyright{
position: fixed;
top: 50%;
left: 50%;
width: 200px;
height: 35px;
margin-top: 100px;
margin-left: -100px;
line-height: 200px;
overflow: hidden;
background: url(img/frames.png) 0 0 no-repeat;
-webkit-animation: sign-anim 2s 1s steps(30) forwards;
-moz-animation: sign-anim 2s 1s steps(30) forwards;
-o-animation: sign-anim 2s 1s steps(30) forwards;
animation: sign-anim 2s 1s steps(30) forwards;
}
@-webkit-keyframes sign-anim {
to {
background-position: 0 -1050px;
}
}
@-moz-keyframes sign-anim {
to {
background-position: 0 -1050px;
}
}
@keyframes sign-anim {
to {
background-position: 0 -1050px;
}
}
</style>
</head>
<body>
<div class="loading">
<div class="lab">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100" viewBox="0 0 32 32">
<path d="M20.682 3.732c-0.473-0.472-1.1-0.732-1.768-0.732s-1.295 0.26-1.77 0.733l-1.41 1.412c-0.473 0.472-0.734 1.1-0.734 1.769 0 0.471 0.129 0.922 0.371 1.313l-13.577 5.439c-0.908 0.399-1.559 1.218-1.742 2.189-0.185 0.977 0.125 1.979 0.834 2.687l12.72 12.58c0.548 0.548 1.276 0.859 2.045 0.877 0.018 0.001 0.060 0.001 0.078 0.001 0.202 0 0.407-0.021 0.61-0.062 0.994-0.206 1.808-0.893 2.177-1.828l5.342-13.376c0.402 0.265 0.875 0.407 1.367 0.407 0.67 0 1.297-0.261 1.768-0.733l1.407-1.408c0.477-0.474 0.738-1.103 0.738-1.773s-0.262-1.3-0.732-1.768l-7.724-7.727zM16.659 29.367c-0.124 0.313-0.397 0.544-0.727 0.612-0.076 0.016-0.153 0.022-0.229 0.021-0.254-0.006-0.499-0.108-0.682-0.292l-12.728-12.588c-0.234-0.233-0.337-0.567-0.275-0.893 0.061-0.324 0.279-0.598 0.582-0.73l6.217-2.49c4.189 1.393 8.379 0.051 12.57 4.522l-4.728 11.838zM26.992 13.58l-1.414 1.413c-0.195 0.196-0.512 0.196-0.707 0l-1.768-1.767-1.432 3.589 0.119-0.303c-3.010-3.005-6.069-3.384-8.829-3.723-0.887-0.109-1.747-0.223-2.592-0.405l8.491-3.401-1.715-1.715c-0.195-0.195-0.195-0.512 0-0.707l1.414-1.415c0.195-0.195 0.512-0.195 0.707 0l7.725 7.727c0.198 0.195 0.198 0.512 0.001 0.707zM16.5 21c1.378 0 2.5-1.121 2.5-2.5s-1.121-2.5-2.5-2.5c-1.379 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5zM16.5 17c0.828 0 1.5 0.672 1.5 1.5s-0.672 1.5-1.5 1.5c-0.829 0-1.5-0.672-1.5-1.5s0.671-1.5 1.5-1.5zM29.5 0c-1.379 0-2.5 1.121-2.5 2.5s1.121 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.121-2.5-2.5-2.5zM29.5 4c-0.828 0-1.5-0.672-1.5-1.5s0.672-1.5 1.5-1.5 1.5 0.672 1.5 1.5-0.672 1.5-1.5 1.5zM8 17c0 1.103 0.897 2 2 2s2-0.897 2-2-0.897-2-2-2-2 0.897-2 2zM10 16c0.552 0 1 0.447 1 1s-0.448 1-1 1-1-0.447-1-1 0.448-1 1-1zM12 23c0-0.552 0.448-1 1-1s1 0.448 1 1c0 0.552-0.448 1-1 1-0.552 0-1-0.448-1-1zM28 8c0-0.552 0.448-1 1-1s1 0.448 1 1c0 0.552-0.448 1-1 1-0.552 0-1-0.448-1-1z" fill="#ffffff"/>
</svg>
</div>
<div class="highlight"></div>
</div>
<div class="copyright">youxiake.com</div>
<!--
Math.round( Math.random() * 1000 + .5)
parseInt(Math.random()*(max-min+1))
-->
</body>
</html>