Skip to content

Commit 7c44597

Browse files
Style form layout and inputs
1 parent 7814cbc commit 7c44597

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

‎Form-Controls/style.css‎

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
body {
2-
font-family: Arial, sans-serif;
3-
max-width: 340px;
4-
margin: 40px auto;
2+
font-family: Arial, sans-serif;
3+
max-width: 340px;
4+
margin: 40px auto;
5+
}
6+
7+
form {
8+
display: flex;
9+
flex-direction: column;
10+
gap: 8px;background: #f5f5f5;
11+
padding: 20px;
12+
box-sizing: border-box;
13+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
14+
border-radius: 12px;
15+
}
16+
17+
input[type="text"],
18+
input[type="email"] {
19+
width: 270px;
20+
521
}

0 commit comments

Comments
 (0)