-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
35 lines (34 loc) · 1.17 KB
/
test.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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Bob Flare</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/spectre.css@0.5.8/dist/spectre.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/spectre.css@0.5.8/dist/spectre-exp.min.css">
<script src="https://cdn.jsdelivr.net/gh/GIUEM-Networks/flare-example/lib/Flare.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/GIUEM-Networks/flare-example/lib/canvaskit.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gl-matrix@3.0.0/gl-matrix-min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/htm@2.2.1/preact/standalone.umd.js"></script>
<style>
body {
position: fixed;
margin: 0;
padding: 0;
}
#container {
height: 30vh;
display: flex;
}
#container > div {
margin: auto;
width: calc(100vw - 2em);
}
</style>
</head>
<body>
<canvas id="canvas"></canvas>
<div id="container"></div>
<script src="./test.js"></script>
</body>
</html>