-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (41 loc) · 1.63 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
<!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>PaintJS</title>
</head>
<body>
<canvas id="jsCanvas" class="canvas"></canvas>
<!-- whole controls -->
<div class="controls">
<!-- paint brush size controler -->
<div class="controls_range">
<input type="range" id="jsRange" min="0.1" max="5.0" value="2.5" step="0.1"/>
<!-- value는 기본값 -->
</div>
<!-- Fill Save btns-->
<div class="controls_btns">
<button id="jsMode">Fill</button>
<button id="jsSave">Save</button>
</div>
<!-- color chart -->
<div class="controls_colors" id="jsColors">
<div class="controls_color jsColor" style="background-color: #2c2c2c;"></div>
<div class="controls_color jsColor" style="background-color: white;"></div>
<div class="controls_color jsColor" style="background-color: #FF3B30;"></div>
<div class="controls_color jsColor" style="background-color: #FF9500;"></div>
<div class="controls_color jsColor" style="background-color: #FFCC00;"></div>
<div class="controls_color jsColor" style="background-color: #4CD963;"></div>
<div class="controls_color jsColor" style="background-color: #5AC8FA;"></div>
<div class="controls_color jsColor" style="background-color: #0579FF;"></div>
<div class="controls_color jsColor" style="background-color: #5856D6;"></div>
</div>
</div>
</div>
<!-- jsScript import -->
<script src="app.js"></script>
</body>
</html>