-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (87 loc) · 1.98 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Form</title>
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
h1 {
margin-top: 20px;
font-size: 24px;
text-align: center;
}
form {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 100%;
margin-top: 20px;
box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}
label {
display: block;
margin-bottom: 10px;
font-weight: bold;
}
input[type="email"],
textarea {
width: 100%; /* Full width */
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}
button {
display: block;
width: 100%;
padding: 10px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
@media (max-width: 600px) {
form {
padding: 15px;
}
input[type="email"],
textarea,
button {
font-size: 14px;
}
}
</style>
</head>
<body>
<h1>SnapLoader Contact Form</h1>
<form action="https://formspree.io/f/mrbzprwb" method="POST">
<label>
Your email:
<input type="email" name="email" required>
</label>
<label>
Your message:
<textarea name="message" required></textarea>
</label>
<button type="submit">Send</button>
</form>
</body>
</html>