-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind-contact-form.html
75 lines (75 loc) · 2.41 KB
/
tailwind-contact-form.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
<div class="flex items-center justify-center p-12">
<!-- Author: FormBold Team -->
<!-- Learn More: https://formbold.com -->
<div class="mx-auto w-full max-w-[550px] bg-white">
<form action="https://formbold.com/s/FORM_ID" method="POST">
<div class="mb-5">
<label
for="name"
class="mb-3 block text-base font-medium text-[#07074D]"
>
Full Name
</label>
<input
type="text"
name="name"
id="name"
placeholder="Full Name"
class="w-full rounded-md border border-[#e0e0e0] bg-white py-3 px-6 text-base font-medium text-[#6B7280] outline-none focus:border-[#6A64F1] focus:shadow-md"
/>
</div>
<div class="mb-5">
<label
for="email"
class="mb-3 block text-base font-medium text-[#07074D]"
>
Email Address
</label>
<input
type="email"
name="email"
id="email"
placeholder="[email protected]"
class="w-full rounded-md border border-[#e0e0e0] bg-white py-3 px-6 text-base font-medium text-[#6B7280] outline-none focus:border-[#6A64F1] focus:shadow-md"
/>
</div>
<div class="mb-5">
<label
for="subject"
class="mb-3 block text-base font-medium text-[#07074D]"
>
Subject
</label>
<input
type="text"
name="subject"
id="subject"
placeholder="Enter your subject"
class="w-full rounded-md border border-[#e0e0e0] bg-white py-3 px-6 text-base font-medium text-[#6B7280] outline-none focus:border-[#6A64F1] focus:shadow-md"
/>
</div>
<div class="mb-5">
<label
for="message"
class="mb-3 block text-base font-medium text-[#07074D]"
>
Message
</label>
<textarea
rows="4"
name="message"
id="message"
placeholder="Type your message"
class="w-full resize-none rounded-md border border-[#e0e0e0] bg-white py-3 px-6 text-base font-medium text-[#6B7280] outline-none focus:border-[#6A64F1] focus:shadow-md"
></textarea>
</div>
<div>
<button
class="hover:shadow-form rounded-md bg-[#6A64F1] py-3 px-8 text-base font-semibold text-white outline-none"
>
Submit
</button>
</div>
</form>
</div>
</div>