Skip to content

Commit 9ed30a0

Browse files
committed
Enhance form control styles with improved layout and visual consistency
1 parent 4973313 commit 9ed30a0

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

‎Form-Controls/styles.css‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,32 @@ main {
1515
box-shadow: 0 4px 6px;
1616

1717
}
18+
19+
label {
20+
display: block;
21+
margin-bottom: 8px;
22+
font-weight: bold;
23+
}
24+
25+
input,
26+
select {
27+
width: 100%;
28+
padding: 10px;
29+
margin-bottom: 20px;
30+
border: 1px solid green;
31+
border-radius: 5px;
32+
33+
}
34+
35+
fieldset {
36+
display: grid;
37+
grid-template-columns: 1fr 1fr;
38+
gap: 10px;
39+
border: 1px solid green;
40+
padding: 10px;
41+
margin-bottom: 5px;
42+
border-radius: 5px;
43+
44+
45+
46+
}

0 commit comments

Comments
 (0)