-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathhtml-reservation-form.html
205 lines (197 loc) · 4.73 KB
/
html-reservation-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
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<div class="formbold-main-wrapper">
<!-- Author: FormBold Team -->
<!-- Learn More: https://formbold.com -->
<div class="formbold-form-wrapper">
<form action="https://formbold.com/s/FORM_ID" method="POST">
<div class="flex flex-wrap formbold--mx-3">
<div class="w-full sm:w-half formbold-px-3">
<div class="formbold-mb-5">
<label for="fName" class="formbold-form-label"> First Name </label>
<input
type="text"
name="fName"
id="fName"
placeholder="First Name"
class="formbold-form-input"
/>
</div>
</div>
<div class="w-full sm:w-half formbold-px-3">
<div class="formbold-mb-5">
<label for="lName" class="formbold-form-label"> Last Name </label>
<input
type="text"
name="lName"
id="lName"
placeholder="Last Name"
class="formbold-form-input"
/>
</div>
</div>
</div>
<div class="formbold-mb-5">
<label for="guest" class="formbold-form-label">
How many guest are you bringing?
</label>
<input
type="number"
name="guest"
id="guest"
placeholder="5"
class="formbold-form-input"
/>
</div>
<div class="flex flex-wrap formbold--mx-3">
<div class="w-full sm:w-half formbold-px-3">
<div class="formbold-mb-5 w-full">
<label for="date" class="formbold-form-label"> Date </label>
<input
type="date"
name="date"
id="date"
class="formbold-form-input"
/>
</div>
</div>
<div class="w-full sm:w-half formbold-px-3">
<div class="formbold-mb-5">
<label for="time" class="formbold-form-label"> Time </label>
<input
type="time"
name="time"
id="time"
class="formbold-form-input"
/>
</div>
</div>
</div>
<div class="flex formbold-mb-5">
<div class="flex">
<input
type="radio"
name="radio1"
id="radioButton1"
class="formbold-radio"
/>
<label for="radioButton1" class="formbold-radio-label"> Yes </label>
</div>
<div class="flex">
<input
type="radio"
name="radio1"
id="radioButton2"
class="formbold-radio"
/>
<label for="radioButton2" class="formbold-radio-label"> No </label>
</div>
</div>
<div>
<button class="formbold-btn">Submit</button>
</div>
</form>
</div>
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter", sans-serif;
}
.formbold-mb-5 {
margin-bottom: 20px;
}
.formbold-pt-3 {
padding-top: 12px;
}
.formbold-main-wrapper {
display: flex;
align-items: center;
justify-content: center;
padding: 48px;
}
.formbold-form-wrapper {
margin: 0 auto;
max-width: 550px;
width: 100%;
background: white;
}
.formbold-form-label {
display: block;
font-weight: 500;
font-size: 16px;
color: #07074d;
margin-bottom: 12px;
}
.formbold-form-label-2 {
font-weight: 600;
font-size: 20px;
margin-bottom: 20px;
}
.formbold-form-input {
width: 100%;
padding: 12px 24px;
border-radius: 6px;
border: 1px solid #e0e0e0;
background: white;
font-weight: 500;
font-size: 16px;
color: #6b7280;
outline: none;
resize: none;
}
.formbold-form-input:focus {
border-color: #6a64f1;
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}
.formbold-btn {
text-align: center;
font-size: 16px;
border-radius: 6px;
padding: 14px 32px;
border: none;
font-weight: 600;
background-color: #6a64f1;
color: white;
cursor: pointer;
}
.formbold-btn:hover {
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}
.formbold--mx-3 {
margin-left: -12px;
margin-right: -12px;
}
.formbold-px-3 {
padding-left: 12px;
padding-right: 12px;
}
.flex {
display: flex;
}
.flex-wrap {
flex-wrap: wrap;
}
.w-full {
width: 100%;
}
.formbold-radio {
width: 20px;
height: 20px;
}
.formbold-radio-label {
font-weight: 500;
font-size: 16px;
padding-left: 12px;
color: #070707;
padding-right: 20px;
}
@media (min-width: 540px) {
.sm\:w-half {
width: 50%;
}
}
</style>