-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBookingForm.html
124 lines (124 loc) · 3.17 KB
/
BookingForm.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
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: "Segoe UI", sans-serif;
background-color: #f4f4f4;
color: #333;
}
.container {
max-width: 800px;
margin: 50px auto;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 40px;
border-radius: 15px;
}
h2 {
text-align: center;
color: #007bff;
margin-bottom: 30px;
}
.row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 20px;
}
.column {
flex: 0 0 48%;
padding: 20px;
border: 1px solid #ddd;
box-sizing: border-box;
border-radius: 5px;
}
label {
display: block;
margin-bottom: 8px;
font-size: 18px;
font-weight: 600;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea {
width: 100%;
padding: 15px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 16px;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
box-sizing: border-box;
}
textarea {
resize: vertical;
}
input[type="submit"] {
width: 100%;
padding: 15px;
border: none;
border-radius: 8px;
background-color: #007bff;
color: white;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
@media (max-width: 600px) {
.column {
flex-basis: 100%;
margin: 10px 0;
}
}
</style>
</head>
<body>
<div class="container">
<h2>Booking Form</h2>
<form>
<div class="row">
<div class="column">
<label for="fname">First Name:</label>
<input type="text" id="fname" name="fname" />
</div>
<div class="column">
<label for="lname">Last Name:</label>
<input type="text" id="lname" name="lname" />
</div>
</div>
<div class="row">
<div class="column">
<label for="email">Email:</label>
<input type="email" id="email" name="email" />
</div>
<div class="column">
<label for="phone">Phone:</label>
<input type="tel" id="phone" name="phone" />
</div>
</div>
<div class="row">
<div class="column">
<label for="date">Date:</label>
<input type="date" id="date" name="date" />
</div>
<div class="column">
<label for="time">Time:</label>
<input type="time" id="time" name="time" />
</div>
</div>
<div class="row">
<label for="notes">Additional Notes:</label>
<textarea id="notes" name="notes" rows="3"></textarea>
</div>
<input type="submit" value="Submit Booking" />
</form>
</div>
</body>
</html>