-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect31.module.css
More file actions
33 lines (33 loc) · 926 Bytes
/
Copy pathrect31.module.css
File metadata and controls
33 lines (33 loc) · 926 Bytes
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
.loader {
position: relative;
border: 24px solid;
border-color: #fff transparent #fff transparent;
animation : rotate 2s linear infinite;
}
.loader:before,
.loader:after {
content:"";
display: block;
border: 24px solid transparent;
border-left-color: #fff;
position: absolute;
left: -24px;
top: -24px;
animation: mvx 1s infinite linear;
}
.loader:before {
border-color: transparent #fff transparent transparent;
animation-name:mvrx;
animation-delay: 0.5s;
}
@keyframes rotate {
100% {transform: rotate(360deg)}
}
@keyframes mvx {
20% , 80% {transform: translateX(0)}
50% {transform: translateX(-50%)}
}
@keyframes mvrx {
20% , 80% {transform: translateX(0)}
50% {transform: translateX(50%)}
}