-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.css
72 lines (62 loc) · 1.11 KB
/
contact.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
68
69
70
71
72
*{
box-sizing: border-box;
}
body{
background-color: azure;
}
.formular{
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
position: absolute;
border-radius: 20px;
background-color: cadetblue;
padding: 20px;
width: 60%;
}
input[type=text], textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
resize: vertical;
}
label {
padding: 12px 12px 12px 0;
display: inline-block;
font-size: 20px;
}
.camp-label {
float: left;
width: 20%;
margin-top: 6px;
}
.camp-input {
float: left;
width: 60%;
margin-top: 6px;
}
.rand:after {
content: "";
display: table;
clear: both;
}
input[type=submit] {
background-color: rgb(64, 139, 67);
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
float: right;
}
input[type=submit]:hover {
background-color: #45a049;
}
@media screen and (max-width: 600px) {
.camp-label, .camp-input, input[type=submit] {
width: 100%;
margin-top: 0;
}
}