-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
90 lines (78 loc) · 1.78 KB
/
contact.html
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
<!DOCTYPE html>
<html>
<head>
<title>Contact Us Form</title>
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet">
<style>
body {
font-family: 'Montserrat', sans-serif;
background-color: #f7f7f7;
}
.container {
max-width: 800px;
margin: 100px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0px 0px 20px #ccc;
}
h1 {
text-align: center;
margin-bottom: 30px;
color: #333;
}
label {
display: block;
margin-bottom: 10px;
font-weight: 700;
color: #333;
}
input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 10px;
border: none;
border-radius: 4px;
background-color: #f2f2f2;
font-size: 16px;
color: #333;
margin-bottom: 20px;
}
textarea {
height: 150px;
resize: none;
}
input[type="submit"] {
display: block;
background-color: #3498db;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin: 0 auto;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #2980b9;
}
</style>
</head>
<body>
<body>
<div class="container">
<h1>Contact Us</h1>
<form action="connect.php" method="post">
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
<label for="message">Message</label>
<textarea id="message" name="message" placeholder="Enter your message" required></textarea>
<input type="submit" value="Send Message">
</form>
</div>
</body>
</body>
</html>