forked from Suraj-kumar00/GITM_TechFest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
perLoader.css
51 lines (46 loc) · 935 Bytes
/
perLoader.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
/* Preloader styles */
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
background-color: #233141;
/* background-image: url(./assets/bg-images/animation2.gif);
background-size:cover;
background-position: center; */
/* opacity: 0.95; */
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
/* Loader animation */
.loader {
border: 4px solid rgba(255, 255, 255, 0.3);
border-top: 4px solid #f09f2e;
border-radius: 50%;
width: 60px;
height: 60px;
animation: spin 1s linear infinite;
text-align: center;
}
/* .loader p {
margin: 0;
color: #fff;
font-size: 24px;
font-weight: bold;
} */
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Hide preloader when content is loaded */
body:not(.loading) .preloader {
display: none;
}