-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathcontact.html
More file actions
175 lines (156 loc) · 3.55 KB
/
contact.html
File metadata and controls
175 lines (156 loc) · 3.55 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport" />
<title>Contact Us</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<style>
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,800");
* {
box-sizing: border-box;
margin: 0;
}
body {
background: linear-gradient(90deg, #BE8CEF 0%, rgba(61, 46, 232, 0.83) 100%);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: "Montserrat", sans-serif;
font-size: 10px;
height: 100vh;
margin: -20px 0 50px;
}
.container {
background-color: #ffffff;
border-radius: 5px;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
position: relative;
overflow: hidden;
width: 768px;
max-width: 100%;
min-height: 480px;
min-width: 370px;
}
h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
.form-container {
display: flex;
}
.left-container {
flex: 1;
height: 480px;
background-color: #00b4cf;
}
.right-container {
display: flex;
flex: 1;
height: 460px;
background-color: #ffffff;
justify-content: center;
align-items: center;
}
.left-container {
display: flex;
flex: 1;
height: 480px;
justify-content: center;
align-items: center;
color: #ffffff;
}
.left-container p {
font-size: 0.9rem;
}
.right-inner-container {
width: 70%;
height: 80%;
text-align: center;
}
.left-inner-container {
height: 50%;
width: 80%;
text-align: center;
line-height: 22px;
}
input, textarea {
background-color: #eee;
border: none;
padding: 12px 15px;
margin: 8px 0;
width: 100%;
font-size: 0.8rem;
}
input:focus, textarea:focus {
outline: 1px solid #00b4cf;
}
button {
border-radius: 20px;
border: 1px solid #00b4cf;
background-color: #00b4cf;
color: #FFFFFF;
font-size: 12px;
font-weight: bold;
padding: 12px 45px;
letter-spacing: 1px;
text-transform: uppercase;
transition: transform 80ms ease-in;
cursor: pointer;
}
button:hover {
opacity: 0.7;
}
@media only screen and (max-width: 600px) {
.left-container {
display: none;
}
.lg-view {
display: none;
}
}
@media only screen and (min-width: 600px) {
.sm-view {
display: none;
}
}
form p {
text-align: left;
}
</style>
</head>
<body>
<div class="container">
<div class="form-container">
<div class="left-container">
<div class="left-inner-container">
<h2>Let's Chat</h2>
<p>Whether you have a question , or simply want to connect.</p>
<br>
<p>Feel free to send me a message in the contact form</p>
</div>
</div>
<div class="right-container">
<div class="right-inner-container">
<form action="#">
<h2>Contact us</h2>
<div class="social-container">
<a href="#" class="social"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="social"><i class="fab fa-google-plus-g"></i></a>
<a href="#" class="social"><i class="fab fa-linkedin-in"></i></a>
</div>
<input type="text" placeholder="First Name *" name="firstname" required />
<input type="text" placeholder="Last Name *" name="lastname" required />
<input type="email" placeholder="email *" name="email" required/>
<input type="tel" placeholder="Phone Number" name="number" required />
<textarea rows="4" placeholder="Message" name="msg" required></textarea>
<button style="
outline: none;">Submit</button>
</form>
</div>
</div>
</div>
</div>
</body>
</html>