-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect33.module.css
More file actions
37 lines (36 loc) · 1.2 KB
/
Copy pathrect33.module.css
File metadata and controls
37 lines (36 loc) · 1.2 KB
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
.loader {
width: 48px;
height: 48px;
position: relative;
animation : rotate 4s linear infinite;
}
.loader:before,
.loader:after {
content:"";
display: block;
border: 24px solid;
border-color: transparent transparent #fff #fff;
position: absolute;
left: 0;
top: 0;
animation: mvx 1s infinite ease-in;
}
.loader:before {
left: -1px;
top: 1px;
border-color:#FF3D00 #FF3D00 transparent transparent;
animation-name:mvrx;
}
@keyframes rotate {
100% {transform: rotate(360deg)}
}
@keyframes mvx {
0% , 15% {transform: translate(0 , 0) rotate(0deg)}
50% {transform: translate(-50% , 50%) rotate(180deg)}
100% {transform: translate(0% , 0%) rotate(180deg)}
}
@keyframes mvrx {
0% , 15% {transform: translate(0 , 0) rotate(0deg)}
50% {transform: translate(50% , -50%) rotate(180deg)}
100% {transform: translate(0% , 0%) rotate(180deg)}
}