-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (42 loc) · 748 Bytes
/
index.html
File metadata and controls
43 lines (42 loc) · 748 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Fireworks</title>
<script src="https://cdn.jsdelivr.net/npm/p5@1.1.9/lib/p5.min.js"></script>
<script src="app.js"></script>
</head>
<style>
* {
margin: 0;
overflow: hidden;
}
body {
position: relative;
}
#wrapper {
width: 100vw;
height: 100vh;
}
@font-face {
font-family: "sample1";
src:url("./dependencies/Planetarium.otf") format("opentype");
}
.centered {
position:absolute;
top:50%;
width:100%;
z-index: 999;
color:white;
text-align: center;
font-family: "sample1";
font-size:18px;
}
</style>
<body>
<div id="wrapper"></div>
<div class="centered">
<h1>Fireworks</h1>
</div>
</body>
</html>