-
Notifications
You must be signed in to change notification settings - Fork 0
/
wait.css
89 lines (82 loc) · 1.44 KB
/
wait.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
position: relative;
}
.background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, #303030 30%, #000000);
z-index: -1;
}
.content {
text-align: center;
color: white;
}
h1 {
font-weight: bold;
}
input[type="radio"] {
margin: 10px;
display: inline-block;
}
.bubble {
position: absolute;
width: 100px;
height: 100px;
background: cover;
animation: float 14s infinite;
margin-left: 12%;
}
.bubble1 {
position: absolute;
width: 100px;
height: 100px;
background: cover;
animation: float 10s infinite;
margin-left: 48%;
}
.bubble2 {
position: absolute;
width: 100px;
height: 100px;
background: cover;
animation: float 16s infinite;
margin-left: 73%;
}
.bubble3 {
position: absolute;
width: 100px;
height: 100px;
background: cover;
animation: float 18s infinite;
margin-left: 90%;
}
.emoji {
position: absolute;
width: 100px;
height: 100px;
background: cover;
animation: float 12s infinite;
}
@keyframes float {
0% {
transform: translateY(3000%);
opacity: 0;
}
10% {
opacity: 1;
}
100% {
transform: translateY(-100%);
opacity: 0;
}
}