Skip to content

Commit 6406563

Browse files
committed
trying form CSS layout
1 parent 70180cc commit 6406563

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

‎Form-Controls/style.css‎

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
body {
2-
display:block;
3-
align-items: center;
4-
max-width: 200px;
5-
justify-content: center;
6-
7-
}
81
h1 {
92
text-align: center;
103
}
114

5+
legend {
6+
font-size: 20px;
7+
padding: 0;
8+
}
9+
10+
fieldset {
11+
display: inline;
12+
margin: 2px;
13+
padding: 2;
14+
border: solid 1px;
15+
border-radius: 5px;
16+
min-width: 100px;
17+
}
18+
19+
label {
20+
display: block;
21+
margin-top: 2px;
22+
}

0 commit comments

Comments
 (0)