-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
151 lines (132 loc) · 3.73 KB
/
index.html
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bubbles</title>
<link rel="icon" href="2.jpeg">
<style>
* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
.container {
width: 100%;
height: 100vh;
background-color: rgb(8, 8, 32);
position: relative;
overflow: hidden;
}
.bub {
width: 130px;
height: 130px;
border: 1px solid white;
box-shadow: inset 5px -5px 10px white;
border-radius: 50%;
background-color: rgba(255, 255, 255, .01);
backdrop-filter: blur(2px);
position: absolute;
bottom: -100px;
/* animation: bubble 3s ease-in infinite; */
}
.bub::before {
position: absolute;
content: "";
background-color: white;
width: 20px;
height: 20px;
border-radius: 50%;
top: 25px;
right: 23px;
box-shadow: 0px 0px 20px white;
}
.bub.a {
left: 10%;
animation: bubble2 2s ease-in 1s infinite;
}
.bub.b {
left: 20%;
animation: bubble 1.5s ease-in 1.4s infinite;
}
.bub.c {
left: 28%;
animation: bubble 5s ease-in 3.8s infinite;
}
.bub.d {
left: 40%;
animation: bubble 1.8s ease-in .5s infinite;
}
.bub.e {
left: 75%;
animation: bubble2 2.3s ease-in 2.5s infinite;
}
.bub.f {
left: 90%;
animation: bubble 2.5s ease-in 3s infinite;
}
.bub.g {
left: 60%;
animation: bubble 2.2s ease-in 2s infinite;
}
.bub.k {
left: 50%;
animation: bubble 1.6s ease-in 2s infinite;
}
.bub.i {
left: 65%;
animation: bubble2 1.8s ease-in 2.1s infinite;
}
.bub.j {
left: 3%;
animation: bubble 2s ease-in 1.5s infinite;
}
.bub.h {
left: 35%;
animation: bubble2 3s ease-in infinite;
}
@keyframes bubble {
0% {
opacity: 0;
}
10%,
93% {
opacity: 1;
}
100% {
transform: translate(90px, -700px);
display: none;
}
}
@keyframes bubble2 {
0% {
opacity: 0;
}
10%,
93% {
opacity: 1;
}
100% {
transform: translate(-90px, -700px);
display: none;
}
}
</style>
</head>
<body>
<div class="container">
<span class="bub a "></span>
<span class="bub b "></span>
<span class="bub c "></span>
<span class="bub d"></span>
<span class="bub e"></span>
<span class="bub f"></span>
<span class="bub g"></span>
<span class="bub h"></span>
<span class="bub i"></span>
<span class="bub j "></span>
<span class="bub k"></span>
</div>
</body>
</html>