forked from memiehuang/canvas-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
23 lines (20 loc) · 947 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Draw!</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css">
</head>
<body class="container">
<p>
<label for="line-color-inp">Line Color:</label>
<input type="color" name="line-color-inp" id="line-color-inp" value="#000000">
</p>
<canvas id="drawCanvas" width="600" height="400"></canvas><br />
<button class="btn btn-primary" id="save">Save</button>
<button class="btn btn-default" id="reset">Reset</button>
<button class="btn btn-default" id="clear">Clear</button>
<script src="js/app.js"></script>
</body>
</html>