Skip to content

Commit a9d0e40

Browse files
committed
refactor form styles for consistency and improved layout
1 parent 54c8432 commit a9d0e40

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

Form-Controls/index.css

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@ body {
1616
}
1717

1818

19-
.form-group {
19+
.form-inputs {
20+
width: 60%;
21+
background:#f0f8ff;
22+
text-align: left;
23+
display: block;
24+
margin: 0 auto;
25+
padding: 10px;
26+
border-radius: 8px;
27+
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
28+
}
29+
30+
.form-selections {
2031
width: 60%;
2132
background:#f0f8ff;
2233
text-align: left;
@@ -29,16 +40,23 @@ body {
2940

3041
label {
3142
display: block;
32-
margin-bottom: 5px;
43+
margin-bottom: 10px;
3344
font-weight: 600;
3445
}
3546

3647
input[type="text"],
3748
input[type="email"],
3849
select {
3950
width: 100%;
40-
padding: 8px;
51+
padding: 10px;
4152
border: 1px solid #ccc;
42-
border-radius: 4px;
53+
border-radius: 10px;
4354
box-sizing: border-box; /* Crucial for width alignment */
4455
}
56+
57+
.footer {
58+
text-align: left;
59+
margin-top: 20px;
60+
background-color: #408db7;
61+
padding: 20px;
62+
}

0 commit comments

Comments
 (0)