forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loader.css
43 lines (40 loc) · 784 Bytes
/
loader.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
#pre-loader {
height: 100vh;
width: 100vw;
position: fixed;
top: 0;
z-index: 2000000010;
background: #000 url(Loader_Animation.gif) no-repeat center center;
background-size: 30%;
overflow-y: hidden;
}
#pre-loader h1 {
background-color: transparent;
position: absolute;
top: 70%;
left: 52%;
transform: translate(-50%,-50%);
color: antiquewhite;
font-size: 3rem;
letter-spacing: 1.2px;
animation-name: animate;
animation-duration: 1.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@keyframes animate {
0%{
opacity: 0;
}
50%{
opacity: 1;
}
100%{
opacity: 0;
}
}