-
Notifications
You must be signed in to change notification settings - Fork 0
/
floating-text.html
38 lines (38 loc) · 1009 Bytes
/
floating-text.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #26de81;
}
h1 {
text-align: center;
color: white;
font-family: Arial;
font-size: 90px;
line-height: 90px;
letter-spacing: 15px;
text-shadow: 0 1px #efefef,
0 1px #efefef,
0 1px #efefef,
0 1px #efefef,
0 30px 5px rgba(0, 0, 0, .1);
animation: float 3s linear infinite;
animation-direction: alternate;
}
@keyframes float {
from { transform: rotate(5deg); }
to { transform: rotate(-5deg); }
}
</style>
</head>
<body>
<h1>COMING <br>SOON!<br></h1>
</body>
</html>