-
Notifications
You must be signed in to change notification settings - Fork 364
/
bali.html
246 lines (228 loc) · 7.92 KB
/
bali.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bali Travel - Hotels</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="./styles/popup.css">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Pattaya&family=Poppins:wght@400;500&display=swap"
rel="stylesheet"
/>
<script src="https://kit.fontawesome.com/c4254e24a8.js" crossorigin="anonymous"></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
overflow-x: hidden;
}
.main-image {
width: 100%;
height: 300px;
object-fit: cover;
background-image: url('https://images.pexels.com/photos/29120351/pexels-photo-29120351/free-photo-of-stunning-coastal-cliffs-in-nusa-penida.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
background-position: bottom;
}
.main-heading {
font-size: 48px;
color: white;
text-align: center;
height: 500px;
padding-top: 120px;
}
.container {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
margin: auto;
width: 100%;
}
.card-container {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-evenly;
margin: auto;
width: 100%;
}
h1 {
color: #2c3e50;
margin-bottom: 30px;
font-size: 5em;
}
.hotel-card {
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin: 15px 40px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
width: 450px;
height: 100%;
}
.hotel-image {
width: 100%;
max-height: 400px;
border-radius: 8px;
object-fit: cover;
height: 100%;
}
.hotel-card h2 {
color: #2980b9;
margin: 10px 0 10px;
font-size: 3rem;
}
.hotel-card p {
color: #7f8c8d;
font-size: 18px;
}
.book-button {
background-color: #2980b9;
color: white;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
.book-button:hover {
background-color: #1a6d99;
}
/*add respnsive for small screen*/
@media screen and (max-width:768px){
.card-container {
flex-direction: column;
width: 90%;
margin: auto;
padding: 10px;
}
}
</style>
</head>
<body>
<div class="main-image">
<h1 class="main-heading">Bali</h1>
</div>
<br>
<br>
<h1>Top Hotels in Bali</h1>
<div class="container">
<div class="card-container">
<div class="hotel-card" id="card-1">
<img
src="https://thehoneydreamers.com/wp-content/uploads/2022/01/IMG_8449-2-819x1024.jpg"
alt="The Mulia, Nusa Dua, Bali"
class="hotel-image"
/>
<h2>The Mulia, Nusa Dua, Bali</h2>
<p>Price per night: ₹25,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card" id="card-2">
<img
src="https://images.pexels.com/photos/3225531/pexels-photo-3225531.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"
alt="The Laguna, a Luxury Collection Resort & Spa, Nusa Dua, Bali"
class="hotel-image"
/>
<h2>The Laguna</h2>
<p>Price per night: ₹30,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card" id="card-3">
<img
src="https://www.travoh.com/wp-content/uploads/2021/12/003-The-Ritz-Carlton-Bali-Nusa-Dua-Hotel-Bali-Indonesia-Resort-Overhead-Aerial-View-e1640582829539.jpg"
alt="The Ritz-Carlton, Bali"
class="hotel-image"
/>
<h2>The Ritz-Carlton, Bali</h2>
<p>Price per night: ₹35,990</p>
<button class="book-button">Book Now</button>
</div>
</div>
<div class="card-container">
<div class="hotel-card" id="card-4">
<img
src="https://images.pexels.com/photos/19137452/pexels-photo-19137452/free-photo-of-aerial-view-of-four-seasons-resort-bali-at-sayan-in-indonesia.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"
alt="Four Seasons Resort Bali at Jimbaran Bay"
class="hotel-image"
/>
<h2>Four Seasons Resort Bali</h2>
<p>Price per night: ₹40,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card" id="card-5">
<img
src="https://d2mo2a5fvrklap.cloudfront.net/app/uploads/sites/3/2024/08/02165721/DPSAS-P0149-Woman-At-Infinity-Pool-900x1125-1.jpg"
alt="Alila Seminyak, Bali"
class="hotel-image"
/>
<h2>Alila Seminyak, Bali</h2>
<p>Price per night: ₹28,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card" id="card-6">
<img
src="https://laurenslighthouse.com/wp-content/uploads/2023/04/R5__0797.jpg"
alt="The Oberoi, Bali"
class="hotel-image"
/>
<h2>The Oberoi, Bali</h2>
<p>Price per night: ₹32,990</p>
<button class="book-button">Book Now</button>
</div>
</div>
<div class="card-container">
<div class="hotel-card" id="card-7">
<img
src="https://de87ve0y4m3tc.cloudfront.net/comohotels.com-2459770069/cms/cache/v2/631ebc420ec05.jpg/1512x1512/fit/80/2231c8e87c596e02c97e9d15cfa6a019.jpg"
alt="COMO Uma Ubud, Bali"
class="hotel-image"
/>
<h2>COMO Uma Ubud, Bali</h2>
<p>Price per night: ₹22,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card" id="card-8">
<img
src="https://hautegrandeur.com/hotels/wp-content/uploads/2020/02/The-Griya-Villas-and-Spa-4.jpg"
alt="The Griya Villas and Spa, Bali"
class="hotel-image"
style="width:100%;height: 600px;"
/>
<h2>The Griya Villas and Spa</h2>
<p>Price per night: ₹25,990</p>
<button class="book-button">Book Now</button>
</div>
<div class="hotel-card" id="card-9">
<img
src="https://www.theanvayabali.com/wp-content/uploads/2023/03/Sands-Deck-1440x960-1.jpg"
alt="The Anvaya Beach Resorts, Bali"
class="hotel-image"
style="width:100%;height: 600px;"
/>
<h2>The Anvaya Beach Resorts</h2>
<p>Price per night: ₹38,990</p>
<button class="book-button">Book Now</button>
</div>
</div>
</div>
</div>
</body>
</html>