Skip to content

Commit 607ff0e

Browse files
committed
style sheet /size changes
1 parent b9b22e6 commit 607ff0e

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

Form-Controls/style.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ fieldset {
1515
}
1616
legend {
1717
font-weight: bold;
18-
padding: 05px;
18+
padding: 5px;
1919
}
2020

2121
fieldset input[type="radio"] {
2222
margin-right: 5px;
2323
}
2424

2525
fieldset label {
26-
display: flex;
26+
display: inline;
2727
margin-right: 15px;
2828
font-weight: normal;
2929
}
@@ -65,20 +65,24 @@ select {
6565
border-radius: 4px;
6666
font-size: 1rem;
6767
}
68-
input[type="submit"] {
68+
input[type="submit"]:hover {
69+
background-color: #1b2923;
6970
width: 100%;
70-
background-color: #24362e;
7171
color: white;
7272
border: none;
7373
padding: 12px;
7474
border-radius: 4px;
7575
font-size: 1rem;
7676
cursor: pointer;
7777
}
78-
79-
input[type="submit"]:hover {
80-
background-color: #24362e;
78+
input[type="text"]:focus,
79+
input[type="email"]:focus,
80+
select:focus {
81+
outline: none;
82+
border-color: #24362e;
83+
box-shadow: 0 0 5px rgba(36, 54, 46, 0.3);
8184
}
85+
8286
footer {
8387
text-align: center;
8488
background-color: #24362e;

0 commit comments

Comments
 (0)