-
Notifications
You must be signed in to change notification settings - Fork 9
/
modal.loader1.css3.css
78 lines (74 loc) · 1.65 KB
/
modal.loader1.css3.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
#rdp-modal .loader {
animation: rotate 1s infinite;
height: 50px;
width: 50px;
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
#rdp-modal .loader:before,
#rdp-modal .loader:after {
border-radius: 50%;
content: '';
display: block;
height: 20px;
width: 20px;
}
#rdp-modal .loader:before {
animation: ball1 1s infinite;
background-color: #910000;
box-shadow: 30px 0 0 #231f20;
margin-bottom: 10px;
}
#rdp-modal .loader:after {
animation: ball2 1s infinite;
background-color: #da1a32;
box-shadow: 30px 0 0 #0b2838;
}
@keyframes rotate {
0% {
-webkit-transform: rotate(0deg) scale(0.8);
-moz-transform: rotate(0deg) scale(0.8);
}
50% {
-webkit-transform: rotate(360deg) scale(1.2);
-moz-transform: rotate(360deg) scale(1.2);
}
100% {
-webkit-transform: rotate(720deg) scale(0.8);
-moz-transform: rotate(720deg) scale(0.8);
}
}
@keyframes ball1 {
0% {
box-shadow: 30px 0 0 #231f20;
}
50% {
box-shadow: 0 0 0 #231f20;
margin-bottom: 0;
-webkit-transform: translate(15px,15px);
-moz-transform: translate(15px, 15px);
}
100% {
box-shadow: 30px 0 0 #231f20;
margin-bottom: 10px;
}
}
@keyframes ball2 {
0% {
box-shadow: 30px 0 0 #da1a32;
}
50% {
box-shadow: 0 0 0 #da1a32;
margin-top: -20px;
-webkit-transform: translate(15px,15px);
-moz-transform: translate(15px, 15px);
}
100% {
box-shadow: 30px 0 0 #da1a32;
margin-top: 0;
}
}