-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (42 loc) · 1.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body>
<div class="main">
<div class="top">
<div class="block">
<p>Text Color Picker</p>
<input type="color" class="form-control" id="colorPicker" >
</div>
<div class="block">
<p>Background</p>
<input type="color" class="form-control" id="canvasColor">
</div>
<div class="block">
<p>Font size</p>
<select name="" id="fontSize">
<option value="5">5px</option>
<option value="10">10px</option>
<option value="20">20px</option>
<option value="30">30px</option>
<option value="40">40px</option>
<option value="50">50px</option>
</select>
</div>
</div>
<canvas class="canvas" id="myCanvas" width="800" height="500"></canvas>
<div class="bottom">
<button type="button" class="btn btn-danger" id="clearBtn">Clear</button>
<button type="button" class="btn btn-success" id="saveBtn">Save & Download</button>
<button type="button" class="btn btn-warning" id="retrieveBtn">Retrieve Saved Signature</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>