-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloading.css
More file actions
61 lines (57 loc) · 1.15 KB
/
loading.css
File metadata and controls
61 lines (57 loc) · 1.15 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
:root {
--yellow: #feb60a;
--red: #ff0062;
--blue: #00dbf9;
--violet: #da00f7;
}
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #1a1940;
background-image: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,153,212,0) calc(15% + 100px), rgba(0,99,138,0) calc(85% + 100px), rgba(0,0,0,0.15) 100%);
}
div.container {
display: flex;
justify-content: center;
align-items: center;
}
div > div {
width: 3vw;
height: 3vw;
border-radius: 100%;
margin: 2vw;
background-image: linear-gradient(145deg, rgba(255,255,255,0.5) 0%, rgba(0,0,0,0) 100%);
animation: bounce 1.5s 0.5s linear infinite;
}
.yellow {
background-color: var(--yellow);
}
.red {
background-color: var(--red);
animation-delay: 0.1s;
}
.blue {
background-color: var(--blue);
animation-delay: 0.2s;
}
.violet {
background-color: var(--violet);
animation-delay: 0.3s;
}
@keyframes bounce {
0%, 50%, 100% {
transform: scale(1);
filter: blur(0px);
}
25% {
transform: scale(0.6);
filter: blur(3px);
}
75% {
filter: blur(3px);
transform: scale(1.4);
}
}