-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsurveyform.css
More file actions
87 lines (78 loc) · 1.44 KB
/
surveyform.css
File metadata and controls
87 lines (78 loc) · 1.44 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
body {
font-family: 'Anheim';
font-size: 1.2em;
}
/*Headings*/
#outside {
background-color: lightgoldenrodyellow;
padding-top: 25px;
padding-bottom: 25px;
}
h1 {
font-size: 1.5em;
text-align: center;
text-transform: capitalize;
}
form {
/*To Center the form on the page*/
margin: 0 auto;
width: 70%;
/*To see the limits of the form*/
padding: 1em;
border: 1px solid #ccc;
border-radius: 1em;
}
#survey-form {
background-color: white;
}
/*Personal Details*/
fieldset {
border: 1px solid lightgrey;
margin: 10px;
}
legend {
font-weight: 700;
}
#number {
width: 150px;
}
div + div {
margin-top: 1em;
}
/* label {
/* To make sure that all label have the same size and are properly aligned */
/* display: inline-block; */
/*width: 80px*/
/*text-align: right;
}
*/
input, textarea {
width: 200px;
border: 1px solid #999;
}
input:focus, textarea:focus {
border-color: orangered;
}
textarea {
vertical-align: top;
height: 5em;
resize: vertical;
}
.button {
/*To position the buttons to the same position of the text fields*/
padding-left: 90px; /*same size as the label buttons*/
}
button {
margin: .5em;
font-size: 1em;
text-transform: capitalize;
background-color: red;
color: white;
border: none;
padding: 5px;
border-radius: 2px;
}
#submitbutton {
display: flex;
justify-content: center;
}