-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
52 lines (46 loc) · 959 Bytes
/
style.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
:root{
--loaderStart: 0deg;
--loaderEnd: 180deg;
}
body {
background-color: rgb(25,25,25);
}
@property --loaderStart {
syntax: '<angle>';
inherits: false;
initial-value: 0deg;
}
@property --loaderEnd {
syntax: '<angle>';
inherits: false;
initial-value: 180deg;
}
.loader{
filter: drop-shadow(black 0px 10px 10px);
position:relative;
top: calc(50vh - 62.5px);
left: calc(50vw - 125px);
width: 250px;
height: 250px;
border-radius: 99999px;
background: conic-gradient(from -90deg, rgba(0,0,0,0) var(--loaderStart), #81FBB8 var(--loaderStart), #28C76F var(--loaderEnd), rgba(0,0,0,0) var(--loaderEnd));
animation: gradient 3s infinite ease;
}
@keyframes gradient{
0% {
--loaderStart: 0deg;
--loaderEnd: 0deg;
}
33% {
--loaderStart: 0deg;
--loaderEnd: 180deg;
}
66% {
--loaderStart: 180deg;
--loaderEnd: 180deg;
}
100% {
--loaderStart: 0deg;
--loaderEnd: 0deg;
}
}