-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathload.css
69 lines (69 loc) · 1.52 KB
/
load.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
body{
background-color: black;
}
.container-loading{
/* border: 4px solid red; */
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
height: 100px;
width: 100px;
}
.box{
padding: 20px;
position: absolute;
}
#box-1{
border: 5px solid rgb(88, 202, 255);
animation-name: Box1;
animation-duration: 3.5s;
animation-iteration-count: infinite;
}
#box-2{
border: 5px solid rgb(255, 255, 140);
animation-name: Box2;
animation-duration: 3.5s;
animation-iteration-count: infinite;
}
#box-3{
border: 5px solid rgb(136, 255, 136);
animation-name: Box3;
animation-duration: 3.5s;
animation-iteration-count: infinite;
}
#box-4{
border: 5px solid rgb(255, 115, 115);
animation-name: Box4;
animation-duration: 3.5s;
animation-iteration-count: infinite;
}
@keyframes Box1{
0%{top: 0%;left: 0%;}
25%{top: 0%;left: 50%;}
50%{top: 50%;left: 50%;}
75%{top: 50%;left: 0%;}
100%{top: 0%;left: 0%;}
}
@keyframes Box2{
0%{top: 0%;right: 0%;}
25%{top: 50%;right: 0%;}
50%{top: 50%;right: 50%;}
75%{top: 0%;right: 50%;}
100%{top: 0%;right: 0%;}
}
@keyframes Box4{
0%{bottom: 0%;right: 0%;}
25%{bottom: 0%;right: 50%;}
50%{bottom: 50%;right: 50%;}
75%{bottom: 50%;right: 0%;}
100%{bottom: 0%;right: 0%;}
}
@keyframes Box3{
0%{bottom: 0%;left: 0%;}
25%{bottom: 50%;left: 0%;}
50%{bottom: 50%;left: 50%;}
75%{bottom: 0%;left: 50%;}
100%{bottom: 0%;left: 0%;}
}