-
Notifications
You must be signed in to change notification settings - Fork 0
/
loader.css
83 lines (72 loc) · 1.42 KB
/
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
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
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800&family=Cormorant:wght@300;500;600&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'Cairo', sans-serif;
box-sizing: border-box;
}
.bg__loader {
position: relative;
background: url(./Assets/sandunes.jpg);
background-repeat: no-repeat;
background-size: cover;
z-index: 100;
}
.center {
min-height: 100vh;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.ring {
background: transparent;
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
animation: ring 2s linear infinite;
}
@keyframes ring {
0% {
transform: rotate(0deg);
box-shadow: 2px 8px 4px #4BA7A7;
}
50% {
transform: rotate(180deg);
box-shadow: 2px 8px 4px #10fcfc;
}
100% {
transform: rotate(360deg);
box-shadow: 2px 8px 4px #4BA7A7;
}
}
.ring::before {
background: transparent;
position: absolute;
content: "";
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.8);
}
.travelling__icon {
background: transparent;
position: absolute;
border-radius: 50%;
font-size: 2.4rem;
font-weight: 700;
color: #fff;
text-shadow: 0.2px 0.4px #2424249f;
animation: buffer 1s infinite alternate-reverse;
}
@keyframes buffer {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}