-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (39 loc) · 1.3 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
<!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">
<link rel="stylesheet" href="index.css">
<title>Sketch Demo</title>
</head>
<body>
<canvas width="300" height="300" id="mycanvas"></canvas>
<div class="actions">
<svg id="brush" class="icon active" aria-hidden="true">
<use xlink:href="#icon-pen"></use>
</svg>
<svg id="eraser" class="icon" aria-hidden="true">
<use xlink:href="#icon-shape"></use>
</svg>
<svg id="clear" class="icon" aria-hidden="true">
<use xlink:href="#icon-clear"></use>
</svg>
<svg id="save" class="icon" aria-hidden="true">
<use xlink:href="#icon-baocun"></use>
</svg>
</div>
<ol class="colors">
<li id="black" class="black active"></li>
<li id="red" class="red"></li>
<li id="green" class="green"></li>
<li id="blue" class="blue"></li>
</ol>
<ol class="sizes">
<li id="thin" class="thin"></li>
<li id="thick" class="thick"></li>
</ol>
<script src="//at.alicdn.com/t/font_900506_lhro86zylf.js"></script>
<script src="index.js"></script>
</body>
</html>