-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.css
84 lines (73 loc) · 1.52 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
73
74
75
76
77
78
79
80
81
82
83
84
/* Style inputs, select elements and textareas */
input[type=text], select, textarea{
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
resize: vertical;
}
/* Style the label to display next to the inputs */
label {
padding: 12px 12px 12px 0;
display: inline-block;
}
/* Style the submit button */
input[type=submit] {
background-color: #ff686b;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
float: center;
}
.contact-header{
background-color: none;
background-image: url("https://images.unsplash.com/photo-1518398046578-8cca57782e17?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: center-top;
background-size: 2000px;
opacity: 0.9;
height: 20 vh;
font-family: 'Poppins', sans-serif;
color:#fff;
border-radius: 0 !important;
}
.container {
border-radius: 20px;
background-color: rgba(0, 0, 0, 0.6);
padding: 15px 30px 15px 30px;
border-radius: 3px;
}
.form {
background-color: #fff;
padding: 60px;
width: 100%;
}
.col-25 {
float: left;
width: 25%;
margin-top: 6px;
}
.col-75 {
float: left;
width: 75%;
margin-top: 6px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Responsive layout */
@media screen and (max-width: 600px) {
.col-25, .col-75, input[type=submit] {
width: 100%;
margin-top: 0;
}
}
.form-section {
background-color: #ccc !important;
}