-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect32.module.css
More file actions
30 lines (30 loc) · 846 Bytes
/
Copy pathrect32.module.css
File metadata and controls
30 lines (30 loc) · 846 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
.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: prix 1s infinite ease-in;
transform-origin: 0% 100%;
}
.loader:before {
border-color: transparent #fff transparent transparent;
transform-origin: 100% 0%;
animation-delay: 0.5s;
}
@keyframes rotate {
100% {transform: rotate(360deg)}
}
@keyframes prix {
20% , 80% {transform: rotate(0)}
50% {transform: rotate(-90deg)}
}