-
Notifications
You must be signed in to change notification settings - Fork 0
/
indexpub.html
69 lines (69 loc) · 2.42 KB
/
indexpub.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css"/>
<title>Webcontentdev</title>
</head>
<body>
<h1><a href="#">Draw&Save</a></h1>
<canvas id="jsCanvas" class="canvas"></canvas>
<div class="controls">
<h2><a href="#">브러쉬 굵기를 조절해보세요!</a></h1>
<div class="controls__range">
<input
type ="range"
id="jsRange"
min="0.1"
max="5.0"
value="2.5"
step="0.1"/>
</div>
<div class="controls__btns">
<button id="jsMode">Fill</button><button id="jsSave"> Save</button><button id="jsErase" onclick="erase()"> Erase</button><button id="jsReset" onclick="resetCanvas()"> Reset</button></div>
<div class="controls__colors" id="jsColors">
<div
class="controls__color jsColor"
style="background-color:black">
</div>
<div
class="controls__color jsColor"
style="background-color:white">
</div>
<div
class="controls__color jsColor"
style="background-color:red">
</div>
<div class="controls__color jsColor"
style="background-color:orange">
</div>
<div
class="controls__color jsColor"
style="background-color:yellow">
</div>
<div class="controls__color jsColor"
style="background-color:yellowgreen">
</div>
<div
class="controls__color jsColor"
style="background-color:green">
</div>
<div class="controls__color jsColor"
style="background-color:blue">
</div>
<div class="controls__color jsColor"
style="background-color:hotpink">
</div>
<div class="controls__color jsColor"
style="background-color:blueviolet">
</div>
<div class="controls__color jsColor"
style="background-color:purple">
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>