-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle-home.css
More file actions
71 lines (55 loc) · 1.32 KB
/
style-home.css
File metadata and controls
71 lines (55 loc) · 1.32 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
71
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
background: #0c192c;
}
.container {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
}
.bubbles {
position: relative;
display: flex;
--i: 10;
}
.bubbles span {
position: relative;
width: 30px;
height: 30px;
background: #028998;
margin: 0 4px;
border-radius: 50%;
box-shadow: 0 0 0 10px #02515944, 0 0 50px #028998, 0 0 100px#028998;
animation: animate 15s linear infinite;
animation-duration: calc(200s / var(--i));
}
.bubbles span:nth-child(2n + 1) {
background: #6f01d6;
box-shadow: 0 0 0 10px #6f01d644, 0 0 50px #6f01d6, 0 0 100px #6f01d6;
}
.bubbles span:nth-child(15) {
background: #fcfcfc;
box-shadow: 0 0 0 10px #fcfcfc44, 0 0 50px #fcfcfc, 0 0 100px #fcfcfc;
}
.bubbles span:nth-child() {
background: #028998;
box-shadow: 0 0 0 10px #02899844, 0 0 50px #028998, 0 0 100px #028998;
}
.bubbles span:nth-child(2n + 1) {
background: #02649c;
box-shadow: 0 0 0 10px #02649c44, 0 0 50px #02649c, 0 0 100px #02649c;
}
@keyframes animate {
0% {
transform: translateY(100vh) scale(0);
}
100% {
transform: translateY(-10vh) scale(1);
}
}