-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect25.module.css
More file actions
31 lines (30 loc) · 859 Bytes
/
Copy pathrect25.module.css
File metadata and controls
31 lines (30 loc) · 859 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
.loader {
width: 48px;
height: 48px;
display: flex;
animation : rotate 2s linear infinite;
}
.loader:before,
.loader:after {
content:"";
flex:1;
background:#fff;
animation: mvx 0.5s infinite linear alternate;
}
.loader:before {
background: #FF3D00;
animation-name:mvrx;
}
@keyframes rotate {
100% {transform: rotate(360deg)}
}
@keyframes mvx {
0% , 40% {transform: translateX(0px)}
20% , 60% {transform: translateX(8px)}
100% {transform: translateX(15px)}
}
@keyframes mvrx {
0% , 40% {transform: translateX(0px)}
20% , 60% {transform: translateX(-8px)}
100% {transform: translateX(-15px)}
}