-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.css
67 lines (55 loc) · 1.09 KB
/
form.css
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
.form-container {
display: grid;
grid-template-columns: 2fr 1fr;
align-items: center;
justify-content: center;
padding: 10px;
background-color: green;
gap: 20px;
}
form {
min-width:450px;
margin: 20px auto;
border-radius: 10px;
padding: 15px 15px;
background-color: white;
}
form h2 {
margin-bottom: 15px;
}
.form-container h1 {
font-weight: bolder;
font-size: 50px;
padding-bottom: 5px;
}
.info {
display: flex;
flex-direction: column;
align-items: start;
color: white;
}
.info div {
font-size: 1.2em;
display: flex;
align-items: center;
gap: 10px;
line-height: 30px;
}
label {
display: block;
text-align: start;
margin-bottom: 8px;
font-weight: bold;
}
input, textarea {
width: 90%;
padding: 15px 10px;
margin-bottom: 16px;
border-radius: 7px;
}
@media only screen and (max-width: 767px) {
.form-container {
display: flex;
flex-direction: column;
}
}