-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloadingE.css
More file actions
64 lines (60 loc) · 1.16 KB
/
Copy pathloadingE.css
File metadata and controls
64 lines (60 loc) · 1.16 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
59
60
61
62
63
64
body {
margin : 0;
padding : 0;
background: #e55039;
}
.box{
width: 200px;
height : 200px;
position : absolute;
top : 50%;
left : 50%;
transform : translate(-50%, -50%);
overflow : hidden;
}
.box .b{
border-radius: 50%;
border-left : 4px solid;
border-right : 4px solid;
border-top : 4px solid transparent !important;
border-bottom : 4px solid transparent !important;
position : absolute;
top : 50%;
left : 50%;
transform : translate(-50%, -50%);
animation : ro 2s infinite;
}
.box .b1 {
border-color : #4a69bd;
width : 120px;
height : 120px;
}
.box .b2{
border-color : #f6b93b;
width : 100px;
height : 100px;
animation-delay: 0.2s;
}
.box .b3{
border-color : #2ecc71;
width : 80px;
height : 80px;
animation-delay: 0.4s;
}
.box .b4{
border-color : #34495e;
width : 60px;
height : 60px;
animation-delay: 0.6s;
}
@keyframes ro{
0%{
transform : translate(-50%,-50%) rotate(0deg);
}
50%{
transform : translate(-50%,-50%) rotate(-180deg);
}
100%{
transform : translate(-50%,-50%) rotate(0deg);
}
}