-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (69 loc) · 1.74 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
<link rel="stylesheet" href="main.css">
<title>placeholder image</title>
</head>
<body>
<div id="overlay" class="overlay">
<button id="edit-button" class="button button--edit">
edit
</button>
<form class="form" id="form-placeholder-dimensions">
<div class="input-container">
<label
class="label"
for="width">
width
</label>
<input
class="input"
placeholder="width (pixels)"
value="200"
type="number"
id="width"
name="width" />
</div>
<div class="input-container">
<label
class="label"
for="height">
height
</label>
<input
class="input"
placeholder="height (pixels)"
value="200"
type="number"
id="height"
name="height" />
</div>
<div class="input-container">
<label
class="label"
for="color-picker">
color picker
</label>
<input
type="color"
id="color-picker"
name="color-picker"
value="#2f2f2f" />
</div>
</form>
</div>
<button
class="button button--download"
id="download-canvas-button">
download
</button>
<div class="canvas-container">
<canvas id="canvas"></canvas>
</div>
<script src="create-placeholder-image.js"></script>
</body>
</html>