-
Notifications
You must be signed in to change notification settings - Fork 173
/
preloading.css
80 lines (68 loc) · 1.28 KB
/
preloading.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
body{
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
background: white;
}
.center-loader {
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
background-color: #5cb6f9;
}
.center-loader img {
width: 10vw;
}
.center-loader .pre-text {
position: absolute;
bottom: 0;
text-align: center;
font-weight: 600;
}
.center-loader p {
font-size: 1.8rem;
}
.center-loader span {
font-size: 2.2rem;
text-transform: uppercase;
}
.container{
height: 15px;
width: 105px;
display: flex;
position: relative;
.dot{
width: 15px;
height: 15px;
border-radius: 50%;
background-color: blue;
animation: move 700ms linear 0ms infinite;
margin-right: 30px;
&:first-child{
position: absolute;
top:0;
left:0;
animation: grow 700ms linear 0ms infinite;
}
&:last-child{
position: absolute;
top: 0;
right: 0;
margin-right: 0;
animation: grow 700ms linear 0s infinite reverse;
}
}
}
@keyframes grow {
from {transform: scale(0,0); opacity: 0;}
to {transform: scale(1,1); opacity: 1;}
}
@keyframes move {
from {transform: translateX(0px)}
to {transform: translateX(45px)}
}