Skip to content

Commit 6453378

Browse files
committed
Added style to name and email
1 parent 9af1f1e commit 6453378

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,35 @@ <h1>Product Pick - T-Shirt Order Form</h1>
114114

115115
<button type="submit">Place Your Order</button>
116116
<style>
117+
form div {
118+
margin-bottom: 10px;
119+
}
120+
#name,
121+
#email,
122+
#colour {
123+
padding: 10px;
124+
font-size: 1rem;
125+
border: 1px solid black;
126+
border-radius: 5px;
127+
}
128+
129+
input[type="text"],
130+
input[type="email"],
131+
select {
132+
width: 100%;
133+
max-width: 400px;
134+
padding: 20px;
135+
box-sizing: border-box;
136+
}
137+
117138
button {
118139
background-color: blue;
119140
color: white;
141+
padding: 10px 20px;
142+
border: none;
143+
border-radius: 8px;
144+
font-size: 1.5rem;
145+
cursor: pointer;
120146
}
121147
</style>
122148
</form>

0 commit comments

Comments
 (0)