-
Notifications
You must be signed in to change notification settings - Fork 0
/
medical-pill-loader.css
68 lines (54 loc) · 1.56 KB
/
medical-pill-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
#loadingDiv {
left: 0;
top: 0;
width: 100%;
height: 100%;
position: fixed;
background: #2222228c;
z-index: 9;
display:none;
}
#loadingDiv.activeLoader{
display:block;
}
.split-pill {
scale:2;
top: 50%;
bottom: 50%;
left: 50%;
right: 50%;
border-radius: 9999px;
border: 1px solid white;
padding: 10px;
display: inline-flex;
position: relative;
justify-content:space-between;
background: linear-gradient(-90deg, #00e4d0 48%, white 48%, white 52%, #5489e7 52%);
box-shadow: 0px 0px 8px -3px blue;
-webkit-animation:spin 1.7s linear infinite;
-moz-animation:spin 1.7s linear infinite;
animation:spin 1.7s ease-in-out infinite;
}
.left {
padding-right: 10px;
}
.right {
padding-left: 10px;
}
@-moz-keyframes spin {
100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
transform:rotate(360deg);
}
50% {
filter: hue-rotate(30deg);
scale: 2.5;
box-shadow: 0px 0px 15px -3px blue;
}
}