Skip to content

Commit d696e45

Browse files
committed
adding property and value to style.css
1 parent fcfc691 commit d696e45

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

Form-Controls/style.css

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
body {
2+
font-family: Arial, sans-serif;
3+
background-color: #f2f2f2;
4+
margin: 0;
5+
}
6+
7+
header {
8+
background-color: #333;
9+
color: white;
10+
text-align: center;
11+
padding: 20px;
12+
}
13+
14+
header h1 {
15+
margin: 0;
16+
}
17+
18+
main {
19+
max-width: 600px;
20+
margin: 30px auto;
21+
padding: 0 20px;
22+
}
23+
24+
fieldset {
25+
background-color: white;
26+
border: 1px solid #ccc;
27+
border-radius: 8px;
28+
padding: 20px;
29+
margin-bottom: 20px;
30+
}
31+
32+
legend {
33+
font-weight: bold;
34+
padding: 0 20px;
35+
}
36+
37+
fieldset p {
38+
margin-bottom: 15px;
39+
}
40+
41+
input[type="text"],
42+
input[type="email"] {
43+
display: block;
44+
width: 100%;
45+
box-sizing: border-box;
46+
padding: 10px;
47+
margin-top: 6px;
48+
border: 1px solid #bbb;
49+
border-radius: 5px;
50+
}
51+
52+
53+
select {
54+
padding: 10px;
55+
border: 1px solid #bbb;
56+
border-radius: 5px;
57+
margin-left: 10px;
58+
}
59+
footer{
60+
font-weight: bold;
61+
}

0 commit comments

Comments
 (0)