-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (50 loc) · 2.01 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
<!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">
<title>Button Generator</title>
<link rel="stylesheet" href="styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="jquery-3.6.0.min.js"></script>
</head>
<body>
<div id="container">
<h1>Modern Button Generator</h1>
<form id="inputForm">
<h2>Input:</h2> Text:
<input id="buttonText" placeholder="Text" value="Demo Text"></input>
<br> Height:
<input id="buttonHeight" placeholder="Height" value="40px"></input>
<br> Width:
<input id="buttonWidth" placeholder="Width" value="100px"></input>
<br> Text Color:
<input id="colorTxt" placeholder="Color Text" value="#555555" maxlength="7"></input>
<br> Background Color:
<input id="colorBg" placeholder="Color Background" value="#ffffff" maxlength="7"></input>
<br> Border Color:
<input id="colorBdr" placeholder="Color Border" value="#555555" maxlength="7"></input>
<br> Border Radius:
<input id="radiusBdr" placeholder="Border Radius" value="12px" ></input>
<br> Hover Background:
<input id="hoverBg" placeholder="Hover Background" value="#555555" maxlength="7"></input>
<br> Hover Text:
<input id="hoverTxt" placeholder="Hover Text" value="#ffffff" maxlength="7"></input>
<br>
</form>
<div id="outputForm">
<h2>Output:</h2>
<div id="demo">
<button id="myButton>" style="margin:10px;">Demo Text</button>
</div>
CSS style:
<textarea id="cssOutput" value="button{
background-color:009999;
}"></textarea>
</div>
</div>
<script src="index.js">
</script>
</body>
</html>