-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
67 lines (61 loc) · 1019 Bytes
/
index.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
.app-root {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #EDEEFE;
}
body{
box-sizing: border-box;
background-color: #EDEEFE;
}
.loading {
position: relative;
width: 115px;
height: 50px;
margin-right: auto;
margin-left: auto;
top: 40%;
transform: translateY(-50%);
}
.loading span {
display: block;
position: absolute;
bottom: 0;
width: 4px;
height: 10px;
left: 33px;
background: #FF5722;
animation: loading 1.5s infinite ease-in-out
}
span:nth-of-type(2) {
left: 44px;
animation-delay: .2s;
}
span:nth-of-type(3) {
left: 55px;
animation-delay: .4s;
}
span:nth-of-type(4) {
left: 66px;
animation-delay: .6s;
}
span:last-of-type {
left: 77px;
animation-delay: .8s;
}
@keyframes loading {
0%, 25%, 100% {
background: #FF5722;
height: 10px;
transform: translateY(0);
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1)
}
50% {
background: #FF9800;
height: 30px;
transform: translateY(15px);
box-shadow: 0 20px 3px rgba(0, 0, 0, 0.1)
}
}