forked from prakritinitd/prakritinitd.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle1.css
More file actions
71 lines (61 loc) · 1.21 KB
/
style1.css
File metadata and controls
71 lines (61 loc) · 1.21 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
65
66
67
68
69
70
*{
margin: 0;
padding: 0;
}
.loading-screen{
width: 100%;
height: 100vh;
background-color: #F5F5F5;
position: fixed;
display: flex;
align-items: center;
justify-content: center;
}
.loading{
width: 80px;
display: flex;
flex-wrap: wrap;
animation: rotate 3s linear infinite;
}
@keyframes rotate{
to{
transform: rotate(360deg);
}
}
.loading span{
width: 32px;
height: 32px;
background-color: red;
margin: 4px;
animation: scale 1.5s linear infinite;
}
@keyframes scale{
50%{
transform: scale(1.2);
}
}
.loading span:nth-child(1){
border-radius: 50% 50% 0 50%;
background-color:#229A34;
transform-origin: bottom right;
}
.loading span:nth-child(2){
border-radius: 50% 50% 50% 0;
background-color: #26AD3B;
transform-origin: bottom left;
animation-delay: .5s;
}
.loading span:nth-child(3){
border-radius: 50% 0 50% 50%;
background-color:#26AD3B ;
transform-origin: top right;
animation-delay: 1.5s;
}
.loading span:nth-child(4){
border-radius: 0 50% 50% 50%;
background-color:#a15c16;
width: 28px;
height: 28px;
transform-origin: top left;
animation-delay: 1s;
}