-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (40 loc) · 1.15 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
<!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>GridCanvas</title>
<script src="https://unpkg.com/gridcanvas@0.2.3/dist/gridcanvas.min.js"></script>
</head>
<body>
<a href="https://github.com/welai/GridCanvas"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<h1>GridCanvas</h1>
<p>An easy to use preview window with grids.</p>
<div id="preview" class="preview-window" style="width:50%;height:500px;"></div>
<div id="test-output"></div>
</body>
<script>
window.addEventListener('load', () => {
window.gridCanvas = new GridCanvas('preview');
});
</script>
</html>
<style>
body {
text-align: center;
font-family: Arial, Helvetica, sans-serif;
color: #1E88A8;
}
h1 {
color: #1E88A8;
font-weight: 600;
font-size: 48pt;
line-height: 48pt;
}
.preview-window {
margin: auto;
box-shadow: 0px 5px 25px #1E88A832;
border: solid 1px #1E88A832;
}
</style>