-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
57 lines (50 loc) · 1.08 KB
/
index.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
html,
body {
height: 100%;
width: 100%;
margin: 0;
}
body,#root {
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}
canvas {
display: flex;
border: 5px solid #e2e1e1;
outline: 1px solid #aaa;
background: #efefef;
}
h2{ margin:0}
.controls {
border:1px solid #ddd;
padding:1em;
margin-left:2em;
background:#eee;
max-width: 15em;
}
.controls > div {
margin-top:1em;
}
input[type=number] {
max-width: 4em;
}
label {
letter-spacing: -0.025em;
}
dd {
margin-bottom: 1em;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="./main.js"></script>
</body>
</html>