-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.css
86 lines (82 loc) · 1.5 KB
/
page.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
/* Main Styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
width: 100%;
min-height: 100vh;
color: #FFFFFF;
background: #000000;
position: relative;
}
/* Waves */
p.wave::selection {
background: none;
}
p.wave {
position: absolute;
border-radius: 100px;
overflow: hidden;
font-size: 4em;
color: transparent;
text-decoration: underline;
text-decoration-style: wavy;
text-decoration-thickness: 10px;
animation: float 2s ease-in-out infinite;
}
/* Every Wave */
p.wave:nth-child(1) {
top: 39%;
left: 70%;
rotate: 70deg;
text-decoration-color: #b63333;
}
p.wave:nth-child(2) {
top: 45%;
left: 15%;
rotate: 5deg;
text-decoration-color: #51ac35;
animation-delay: 0.2s;
}
p.wave:nth-child(3) {
top: 35%;
left: 60%;
rotate: 10deg;
text-decoration-color: #355bac;
animation-delay: 0.1s;
}
p.wave:nth-child(4) {
top: 45%;
left: 28%;
rotate: 170deg;
text-decoration-color: #9e35ac;
}
p.wave:nth-child(5) {
top: 25%;
left: 25%;
rotate: 30deg;
text-decoration-color: #359aac;
animation-delay: 0.2s;
}
p.wave:nth-child(6) {
top: 55%;
left: 34%;
rotate: 290deg;
text-decoration-color: #cac141;
animation-delay: 0.3s;
}
/* Float Animation */
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(40px);
}
100% {
transform: translateY(0px);
}
}