-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (62 loc) · 2.62 KB
/
Copy pathindex.html
File metadata and controls
70 lines (62 loc) · 2.62 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dom-to-image/2.6.0/dom-to-image.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<div class="container">
<h1>88x31 Button Maker</h1>
<p><strong>Tip:</strong> Copying and pasting <a href="https://emojipedia.org/" TARGET="_blank">emojis</a>
works)</p>
<div class="left"><strong>Preview:</strong><br><br>
<div id="output">
<p id="text"></p>
</div><br><br>
</div>
<div class="contain">
<div class="option"><strong>Enter your text<br></strong><br>
<textarea id="input" type="text" autocomplete="off" value="%{text}"></textarea>
</div>
<strong>Premade Styles:</strong>
<input type="checkbox" id="retroButton" name="retroButton">
<label for="retroButton">retro mode</label>
<div class="option"><strong>Upload</strong>
<input type="file" name="file" id="upload" class="inputfile" title="aa" />
</div>
<div class="option"><strong>Background color:</strong><input id="bg-color" type="color" value="#ffffff"></input></div>
<div class="option"><strong>Text color:</strong>
<input id="text-color" type="color" value="#000000"></input>
</div>
<div class="option"><strong>Border color:</strong>
<input id="border-color" type="color" value="#000000"></input>
</div>
<div class="option"><strong>Border thickness (px):</strong>
<input id="border-width" value="1" max="8"></input>
</div>
<div class="option"><strong>Text-align:</strong><br><br>
<div><label for="left">Left</label><input type="radio" id="align" name="align" value="left" checked>
<label for="center">Center</label><input type="radio" id="align" name="align" value="center">
<label for="right">Right</label><input type="radio" id="align" name="align" value="right">
</div>
</div>
<div><button id="into-image">Make into image</button><br><br>
<div id="results"></div><br><br>
<p>When you're happy with how it looks, click 'make into image' and right-click > 'save as' to save your creation!</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
</style>
<script>
</script>
</body>
</html>
</body>
</html>