-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
59 lines (53 loc) · 1.39 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
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>canvas-record by Damien Seguin (https://github.com/dmnsgn)</title>
<style>
:root {
--color-dark: #404040;
--color-light: #f2f2f2;
--color-accent: #fd5e62;
}
body {
margin: 0;
overscroll-behavior: none;
font-family: sans-serif;
color: var(--color-dark);
background-color: var(--color-light);
}
main {
padding: 0 20px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
button {
margin-top: 10px;
}
canvas {
max-width: 100%;
}
.Detail {
position: fixed;
bottom: 8px;
right: 8px;
margin: 0;
padding: 10px 16px;
color: var(--color-light);
background-color: var(--color-dark);
}
</style>
</head>
<body>
<main>
<h1>canvas-record</h1>
<pre class="Detail">Details</pre>
</main>
<script async src="web_modules/es-module-shims.js" type="module"></script>
<script src="web_modules/import-map.json" type="importmap-shim"></script>
<script src="./example/index.js" type="module-shim"></script>
</body>
</html>