-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathform.css
More file actions
49 lines (42 loc) · 828 Bytes
/
form.css
File metadata and controls
49 lines (42 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
body {
font-family: sans-serif;
}
#interactive-form {
max-width: 500px;
margin: 0 auto;
padding: 30px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
font-weight: bold;
margin-bottom: 10px;
}
input[type="text"],
input[type="email"],
input[type="number"],
select {
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: blue;
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
.error {
color: red;
margin-top: 5px;
font-size: 14px;
}