-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (42 loc) · 1.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Button Creator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section class="button-creator">
<form id="controles">
<label for="texto">texto</label>
<input type="text" name="texto" id="texto">
<label for="color">color</label>
<input type="color" name="color" id="color">
<label for="backgroundColor">background-color</label>
<input type="color" name="backgroundColor" id="backgroundColor">
<label for="height">height</label>
<input type="range" name="height" id="height" min="0" max="200">
<label for="width">width</label>
<input type="range" name="width" id="width" min="0" max="600">
<label for="border">border</label>
<input type="text" name="border" id="border">
<label for="borderRadius">border-radius</label>
<input type="range" name="borderRadius" id="borderRadius" min="0" max="20">
<select name="fontFamily" id="fontFamily">
<option value="Arial">Arial</option>
<option value="Georgia">Georgia</option>
<option value="monospace">Monospace</option>
</select>
<label for="fontSize">font-size</label>
<input type="number" name="fontSize" id="fontSize">
</form>
<section class="resultado">
<button class="btn">Clique</button>
<pre><code class="css"></code></pre>
</section>
</section>
<script src="script.js"></script>
</body>
</html>