-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathloadscreen.css
94 lines (87 loc) · 2.18 KB
/
loadscreen.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
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
.loading {
font: 32px/1.5 Monospace;
color: #000;
perspective: 100px;
}
.loading > span {
animation: flip 2.5s infinite;
display: inline-block;
transform-origin: 50% 50% -10px;
transform-style: preserve-3d;
}
.loading > span:nth-child(1) {
animation-delay: 0.05s;
}
.loading > span:nth-child(2) {
animation-delay: 0.1s;
}
.loading > span:nth-child(3) {
animation-delay: 0.15s;
}
.loading > span:nth-child(4) {
animation-delay: 0.2s;
}
.loading > span:nth-child(5) {
animation-delay: 0.25s;
}
.loading > span:nth-child(6) {
animation-delay: 0.3s;
}
.loading > span:nth-child(7) {
animation-delay: 0.35s;
}
.loading > span:nth-child(8) {
animation-delay: 0.4s;
}
@keyframes flip{
0% { transform: rotateX(0turn); }
60% { transform: rotateX(1turn); }
100% { transform: rotateX(1turn); }
}
#cup {
position: relative;
}
#eye {
animation: animated-eye 5s ease-out infinite;
background: #000;
width: 60px;
height: 60px;
border-radius: 50%;
position: absolute;
transform: translate(-50%, -50%);
}
@keyframes animated-eye {
0% { left: 320px; top: 378px; }
27% { left: 320px; top: 378px; background: #000}
28% { left: 320px; top: 378px; background: #fff}
30% { left: 320px; top: 378px; background: #000}
52% { left: 320px; top: 378px; }
55% { left: 300px; top: 390px; }
70% { left: 300px; top: 390px; }
75% { left: 340px; top: 390px; }
90% { left: 340px; top: 390px; }
93% { left: 320px; top: 378px; }
97% { left: 320px; top: 378px; background: #000}
98% { left: 320px; top: 378px; background: #fff}
100% { left: 320px; top: 378px; background: #000}
}
.starting {
color: #1a595d;
animation: spin 1s linear infinite;
display: inline-flex;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
body {
display: flex;
flex-direction: column;
height: 100vh;
justify-content: center;
align-items: center;
background-color: #5f905f;
margin: 0px;
font: 32px/1.5 Monospace;
color: #000;
}