-
Notifications
You must be signed in to change notification settings - Fork 0
/
preLoader.css
93 lines (85 loc) · 1.67 KB
/
preLoader.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
@import url(https://fonts.googleapis.com/css?family=Raleway:100,200,300);
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap');
#preLoaderId{
position:absolute;
z-index: 10;
display: block;
flex-direction:row;
-webkit-flex-direction:row;
-ms-flex-direction:row;
-mos-flex-direction:row;
-o-flex-direction:row;
justify-content:center;
-webkit-justify-content:center;
-ms-justify-content:center;
height:100%;
width:100%;
background-color:#000000;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
margin: 0;
padding: 0;
}
/* .done {
top: 0;
height: 100%;
width: 100%;
transition: all .33s ease;
}
.count {
position: absolute;
top: 50%;
width: 100%;
text-align: center;
font-weight: 100;
font-size: 3em;
margin-top: -1.33em;
color: #af71af;
} */
#progress-bar {
background: #af71af;
position: absolute;
top: 50%;
height: 20px;
}
@keyframes preLoad {
0% {
opacity: 1;
}
25% {
opacity: 0.75;
}
50% {
opacity: 0.5;
}
75% {
opacity: 0.25;
}
100% {
opacity: 0;
display: none;
}
}
.done {
top: 0;
height: 100%;
width: 100%;
/* transition: all .33s ease; */
animation: preLoad 2s;
animation-fill-mode: forwards;
}
#Datacount {
margin: 0;
padding: 0;
position: absolute;
top: 50%;
width: 100%;
text-align: center;
font-weight: 400;
font-size: 3em;
margin-top: -1.33em;
color: #af71af;
font-family: 'Playfair Display', serif;
}