-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect06.module.css
More file actions
49 lines (48 loc) · 854 Bytes
/
Copy pathrect06.module.css
File metadata and controls
49 lines (48 loc) · 854 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.loader {
width: 48px;
height: 48px;
display: inline-block;
position: relative;
border: 2px solid #FFF;
box-sizing: border-box;
animation: rotation 2s linear infinite;
}
.loader::after,
.loader::before {
content: '';
box-sizing: border-box;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
border: 2px solid #FF3D00;
width: 38px;
height: 38px;
animation: rotationBack 1.5s linear infinite;
transform-origin: center center;
}
.loader::before {
width: 28px;
height: 28px;
border-color: #FFF;
box-sizing: border-box;
animation: rotation 1s linear infinite;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes rotationBack {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(-360deg);
}
}