Skip to content

Commit 13ab105

Browse files
committed
Moved center align to body, formating field class
1 parent 1e12c53 commit 13ab105

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

Form-Controls/style.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,32 @@
11
body {
22
font-family: Arial, sans-serif;
3+
text-align: center;
34
}
45

56
h1 {
67
font-size: clamp(1.875rem, 4vw, 3.125rem);
7-
text-align: center;
88
}
99

1010
label {
1111
font-size: 1rem;
1212
display: block;
1313
margin-bottom: 0.3rem;
14+
}
15+
16+
.field {
17+
font-size: 1.125rem;
18+
font-family: inherit;
19+
width: 50%;
20+
margin-bottom: 1.5rem;
21+
padding: 0.1rem;
22+
border: 1pt solid #acaaa6;
23+
border-radius: 4px;
24+
background-color: #f0faf4
25+
26+
}
27+
28+
.btn {
29+
display: block;
30+
font-size:1.125rem;
31+
margin: 0 auto;
1432
}

0 commit comments

Comments
 (0)