about summary refs log tree commit diff stats
path: root/js/pixel-art/index.html
blob: abae244e585540446d88225a84f990cafe2cf34e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>pixel art</title>
	<script type="text/javascript" src="app.js"></script>
	<style type="text/css">
		.editor {
			max-width: 80em;
			padding: 1em;
			margin: 0 auto;
			display: block;
		}
	</style>
</head>
<body>
<div class="editor"></div>
<script>
  document.querySelector("div")
    .appendChild(startPixelEditor({}));
</script>
</body>
</html>