Skip to content

Commit 1ed6d74

Browse files
committed
update special label
1 parent 9e88ab5 commit 1ed6d74

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ <h1>Product Pick</h1>
3838
<label for="grey">Grey</label>
3939

4040
<label for="size">Size</label>
41+
<label id="special-label">Custom Size</label>
42+
4143
<select id="size" name="size" required>
4244
<option value="">--select a size--</option>
4345
<option value="XS">XS</option>

‎Form-Controls/style.css‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
1+
h1 {
2+
text-align: center;
3+
}
14
form {
25
display: inline-block;
36
/* Form outline */
47
padding: 1em;
58
border: 1px solid #cccccc;
69
border-radius: 1em;
710
}
11+
12+
#special-label {
13+
font-size: 30px;
14+
font-weight: bold;
15+
}
16+
17+
button {
18+
background-color: black;
19+
color: white;
20+
21+
}

0 commit comments

Comments
 (0)