There was an error while loading. Please reload this page.
1 parent 5d1fad6 commit 46c4e88Copy full SHA for 46c4e88
2 files changed
Form-Controls/index.html
@@ -33,7 +33,7 @@ <h1>Product Pick</h1>
33
name="email"
34
required>
35
</div>
36
- <div>
+ <div class="tshirt-colour">
37
<legend>T-shirt Colour</legend>
38
<div>
39
<input type="radio" id="red" name="colour" value="red" required>
Form-Controls/style.css
@@ -7,4 +7,21 @@ body {
7
}
8
div{
9
margin-bottom: 20px;
10
+
11
+}
12
+.tshirt-colour{
13
+ margin-bottom: 15px;
14
+ display: centred;
15
+ align-items: center;
16
17
+input[type="radio"] {
18
+ margin-right: 10px;
19
+ width: 20px;
20
+ height: 20px;
21
+ cursor: pointer;
22
23
+label{
24
+ padding: 10px 0;
25
+ display: inline-block;
26
27
0 commit comments