-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html
42 lines (39 loc) · 1.16 KB
/
template.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>This is my test</title>
<style>
body
{
background: #eeeeee;
}
#canvas2D
{
margin: 10px;
-moz-box-shadow: 0px 0px 20px #ccc;
-webkit-box-shadow: 0px 0px 20px #ccc;
box-shadow: 0px 0px 20px #ccc;
cursor: pointer;
border: thin solid rgba(0.8, 0.8, 0.8, 0.5);
user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-webkit-touch-callout: none;
-webkit-user-drag: none;
}
#canvas2D:active
{
cursor:crosshair;
}
</style>
</head>
<body onload="main()">
<canvas id="canvas2D" width="400" height="400">
Please use a browser which supports a canvas
</canvas>
<script src="drawFigures.js"></script>
</body>
</html>