-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpreload.css
55 lines (47 loc) · 827 Bytes
/
preload.css
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
body {
background-color: #ffffff;
color: rgba(0, 0, 0, 0.87);
}
html {
overscroll-behavior: none;
}
.middle {
position: absolute;
width: 150px;
height: 150px;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
@media screen and (display-mode: browser) {
.middle .spinner {
animation: scale-in 300ms ease-in both;
}
}
/* Spinner */
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes scale-in {
0% {
transform: scale(0.5);
}
100% {
transform: scale(1);
}
}
.spinner {
width: 150px;
height: 150px;
background-image: url(~assets/logo-small-inner.png);
}
.spinner::before {
content: '';
position: absolute;
width: 150px;
height: 150px;
animation: spin 4000ms linear 300ms infinite;
background-image: url(~assets/logo-small-outer.png);
}