-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
57 lines (50 loc) · 1.08 KB
/
style.css
File metadata and controls
57 lines (50 loc) · 1.08 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
* {
margin: 0;
padding: 0;
user-select: none;
box-sizing: border-box;
font-family: consolas;
}
body {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
height: 100vh;
background: #000;
color: #fff;
text-align: center;
}
.wavy {
position: relative;
-webkit-box-reflect: below -12px linear-gradient(transparent, rgba(0, 0, 0, 0.2));
}
.wavy span {
position: relative;
display: inline-block;
font-size: 3.5em;
text-transform: uppercase;
animation: animWavy 3s ease-in-out infinite;
animation-delay: calc(0.1s * var(--i));
}
@keyframes animWavy {
0% {
transform: translateY(70px);
}
20% {
transform: translateY(-70px);
}
40%, 100% {
transform: translateY(70px);
}
}
@media screen and (min-width: 300px) and (max-width: 800px) {
.wavy span {
font-size: 1.6em;
white-space: pre-wrap;
-webkit-box-reflect: below -6px linear-gradient(transparent, rgba(0, 0, 0, 0.041));
}
.wavy {
text-align: center;
}
}