-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
123 lines (105 loc) · 2.86 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Page</title>
<style>
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-color: #f4f7f6;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.contact-form {
background-color: #fff;
border-radius: 8px;
padding: 30px;
width: 100%;
max-width: 600px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.contact-form h1 {
text-align: center;
margin-bottom: 20px;
font-size: 24px;
color: #2c3e50;
}
label {
font-size: 16px;
margin-bottom: 8px;
color: #34495e;
display: block;
}
input,
textarea {
width: 100%;
padding: 12px;
margin: 10px 0 20px 0;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 14px;
}
input:focus,
textarea:focus {
border-color: #3498db;
outline: none;
}
button {
background-color: #3498db;
color: #fff;
padding: 12px 20px;
border: none;
border-radius: 6px;
font-size: 16px;
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #2980b9;
}
p {
text-align: center;
color: #27ae60;
font-size: 16px;
}
/* Responsiveness */
@media (max-width: 768px) {
.contact-form {
padding: 20px;
width: 90%;
}
button {
font-size: 14px;
}
}
</style>
</head>
<body>
<div class="contact-form">
<h1>Contact Us - Vulpinix Production</h1>
<form id="contactForm">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required><br><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required><br><br>
<label for="message">Message:</label><br>
<textarea id="message" name="message" rows="5" required></textarea><br><br>
<button type="submit">Submit</button>
</form>
<p id="status"></p>
</div>
<script src="contact.js"></script>
</body>
</html>