-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect40.module.css
More file actions
58 lines (57 loc) · 1 KB
/
Copy pathrect40.module.css
File metadata and controls
58 lines (57 loc) · 1 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.loader {
width: 50px;
height: 165px;
position: relative;
}
.loader::before {
content: '';
position: absolute;
left: 50%;
top: 0;
transform: translate(-50% , 0);
width: 16px;
height: 16px;
background: #FF3D00;
border-radius: 50%;
animation: bounce 2s linear infinite;
}
.loader::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
margin: auto;
height: 48px;
width: 48px;
background: #fff;
border-radius: 4px;
animation: rotate 2s linear infinite;
}
@keyframes bounce {
0% , 50% , 100%{
transform: translate(-50%, 0px);
height: 20px;
}
20% {
transform: translate(-25%, 85px);
height: 28px;
}
25% {
transform: translate(-25%, 110px);
height: 12px;
}
70% {
transform: translate(-75%, 85px);
height: 28px;
}
75% {
transform: translate(-75%, 108px);
height: 12px;
}
}
@keyframes rotate {
0% , 50% , 100%{ transform: rotate(0deg)}
25% { transform: rotate(90deg)}
75%{ transform: rotate(-90deg)}
}