-
Notifications
You must be signed in to change notification settings - Fork 0
/
loading3.css
105 lines (104 loc) · 2.22 KB
/
loading3.css
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body,html{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #777;
}
.con{
display: flex;
justify-content: center;
align-items: center;
}
.loading1{
position: absolute;
width: 250px;
height: 250px;
border-top: 15px solid #111;
border-right: 15px solid #111;
border-radius: 50%;
animation: loading_animation_1 3s linear infinite;
}
.loading2{
position: absolute;
width: 220px;
height: 220px;
border-bottom: 15px solid #fff;
border-left: 15px solid #fff;
border-radius: 50%;
animation: loading_animation_2 3s linear infinite;
}
.loading3{
position: absolute;
width: 190px;
height: 190px;
border-top: 15px solid #111;
border-right: 15px solid #111;
border-radius: 50%;
animation: loading_animation_1 3s linear infinite;
}
.loading4{
position: absolute;
width: 160px;
height: 160px;
border-bottom: 15px solid #fff;
border-left: 15px solid #fff;
border-radius: 50%;
animation: loading_animation_2 3s linear infinite;
}
.loading5{
position: absolute;
width: 130px;
height: 130px;
border-top: 15px solid #111;
border-right: 15px solid #111;
border-radius: 50%;
animation: loading_animation_1 3s linear infinite;
}
.loading6{
position: absolute;
width: 100px;
height: 100px;
border-bottom: 15px solid #fff;
border-left: 15px solid #fff;
border-radius: 50%;
animation: loading_animation_2 3s linear infinite;
}
.loading7{
position: absolute;
width: 70px;
height: 70px;
border-top: 15px solid #111;
border-right: 15px solid #111;
border-radius: 50%;
animation: loading_animation_1 3s linear infinite;
}
.loading8{
position: absolute;
width: 40px;
height: 40px;
background: #fff;
border-radius: 50%;
animation: loading_animation_2 3s linear infinite;
}
@keyframes loading_animation_1{
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(360deg);
}
}
@keyframes loading_animation_2{
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(-360deg);
}
}