-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
287 lines (224 loc) · 8.6 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
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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tour & Travel</title>
<link rel="stylesheet" href="./css/index.css">
<!-- 图标库 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v2.1.6/css/unicons.css">
<!-- 引用外部样式表 -->
</head>
<body>
<header class="header">
<a href="#" class="logo"><i class="fas fa-hiking"></i> travel.com</a>
<!-- logo区域 -->
<nav class="navbar">
<a href="#home">home</a>
<a href="#category">Adventures</a>
<a href="#packages">packages</a>
<a href="#contact">contact</a>
</nav>
<!-- 导航栏 -->
<div class="icons">
<div id="menu-btn" class="fas fa-bars"></div>
<div id="search-btn" class="fas fa-search"></div>
</div>
<!-- 图标区 -->
</header>
<!-- 写id方便定位 -->
<!-- 以上为导航栏区域 -->
<div class="search-form">
<div id="close-search" class="fas fa-times"></div>
<form action="">
<input type="search" name="" placeholder="search here..." id="search-box">
<label for="search-box" class="fas fa-search"></label>
</form>
</div>
<!-- 划定区域 -->
<section class="home" id="home">
<div class="box" style="background: url(images/home1.jpg) no-repeat;">
<div class="content">
<span>never stop</span>
<h3>exploring</h3>
<p>Travel.com offers best deals on India tour packsages.</p>
<a href="#category" class="btn">get started</a>
</div>
</div>
<!-- 盒子用图片作为背景,然后子元素放置内容!! -->
</section>
<section class="category" id="category">
<div class="heading">
adventure idea!
</div>
<!-- 使用box容器装一堆盒子 -->
<div class="boxContainer">
<div class="box">
<img src="./images/category-1.jpg" alt="">
<h3>Bungee Jump</h3>
<p>Bungee Jumping Is An Activity That Involves A Person Jumping From A Great Height While Connected To A Large Elastic Cord.</p>
<div class="btn">
read more
</div>
</div>
<div class="box">
<img src="./images/category-2.jpg" alt="">
<h3>Zip Lines</h3>
<p>A Zip-Line, Zip Line, Zip-Wire, Or Flying Fox Is A Pulley Suspended On A Cable, Usually Made Of Stainless Steel, Mounted On A Slope.</p>
<div class="btn">
read more
</div>
</div>
<div class="box">
<img src="./images/category-3.jpg" alt="">
<h3>Canoeing</h3>
<p>Canoeing Is An Activity Which Involves Paddling A Canoe With A Single-Bladed Paddle.</p>
<div class="btn">
read more
</div>
</div>
</div>
</section>
<section class="packages" id="packages">
<div class="heading">
popular packages
</div>
<div class="box">
</div>
<div class="boxs-container">
<div class="box">
<div class="img">
<img src="./images/img-1.jpg" alt="">
</div>
<h3>Manali Package</h3>
<p>Kullu Manali Shimla Has Always Been A Very Popular Destination For The Old, Young Travelers As Well As Newly Married Couples Who Look For Cheapest Manali Tour Packages & Manali Honeymoon Packages To Experience The Perfect Solitude And Calmness At Its Best.</p>
<i>Rs 5,999 - Rs 8,999</i>
<button class="btn">explore now</button>
</div>
<div class="box">
<div class="img">
<img src="./images/img-2.jpg" alt="">
</div>
<h3>Goa Package</h3>
<p>Kullu Manali Shimla Has Always Been A Very Popular Destination For The Old, Young Travelers As Well As Newly Married Couples Who Look For Cheapest Manali Tour Packages & Manali Honeymoon Packages To Experience The Perfect Solitude And Calmness At Its Best.</p>
<i>Rs 5,999 - Rs 8,999</i>
<button class="btn">explore now</button>
</div>
<div class="box">
<div class="img">
<img src="./images/img-3.jpg" alt="">
</div>
<h3>Delhi Package</h3>
<p>The Most Popular Beach Of Goa, Baga Is Located Close To Calangute Beach, Around 30 Km North Of Panaji. Baga Is Popular For Its Nightlife With Some Very Famous Clubs Such As Brittos, Titos And Mambos.There Is Also A Range Of Water Sports That You Can Try Your Hands At.</p>
<i>Rs 5,999 - Rs 8,999</i>
<button class="btn">explore now</button>
</div>
<div class="box">
<div class="img">
<img src="./images/img-4.jpg" alt="">
</div>
<h3>Jaipur Package</h3>
<p>Boasting Cultural Diversity And Rich Heritage, Delhi Is Home To Several Temples, Tombs, Gardens, Forts, Museums, Markets And More. We Take You To Some Of The Best Spots In The City. Pick The Best Packages From Here And Enjoy The Tour Of Delhi With Guide.</p>
<i>Rs 5,999 - Rs 8,999</i>
<button class="btn">explore now</button>
</div>
<div class="box">
<div class="img">
<img src="./images/img-5.jpg" alt="">
</div>
<h3>Kerala Package</h3>
<p>We Organise Jaipur & Rajasthan Tours That Offer Incredible Attractions Like Forts And Palaces, Deserts, Traditional Villages, Colorful Cattle Fairs, Sacred Places, Camel Safaris, Beautiful Lakes, Hill Stations And The People.</p>
<i>Rs 5,999 - Rs 8,999</i>
<p>We Organise Jaipur & Rajasthan Tours That Offer Incredible Attractions Like Forts And Palaces, Deserts, Traditional Villages, Colorful Cattle Fairs, Sacred Places, Camel Safaris, Beautiful Lakes, Hill Stations And The People.</p>
<i>Rs 11,999 - Rs 15,999</i>
<button class="btn">explore now</button>
</div>
<div class="box">
<div class="img">
<img src="./images/img-6.jpg" alt="">
</div>
<h3>Darjeeling Package</h3>
<p>Kullu Manali Shimla Has Always Been A Very Popular Destination For The Old, Young Travelers As Well As Newly Married Couples Who Look For Cheapest Manali Tour Packages & Manali Honeymoon Packages To Experience The Perfect Solitude And Calmness At Its Best.</p>
<i>Rs 5,999 - Rs 8,999</i>
<button class="btn">explore now</button>
</div>
</div>
</section>
<!-- 联系区域 -->
<section class="contact" id="contact">
<div class="wrapper">
<i>contact us</i>
<div class="content">
<div class="input-field">
<input type="text" placeholder="name">
<input type="text" placeholder="email address">
<input type="text" placeholder="phone">
<input type="text" placeholder="subject">
</div>
<div class="message">
<div class="textarea">
<textarea name="" id="" placeholder="messages"></textarea>
</div>
<button>
</button>
</div>
</div>
</div>
<!-- 版权区域 -->
</section>
<section class="footer" id="footer">
<div class="wrapper">
<div class="boxs-container">
<div class="box">
<h3>Quick Links</h3>
<a href="#home">home</a>
<a href="#packages">packages</a>
<a href="#">query</a>
</div>
<div class="box">
<h3>Extra Links</h3>
<a href="">ask questions</a>
<a href="">terms of use</a>
<a href="">privacy policy</a>
</div>
<div class="box">
<h3>
Contact Info
</h3>
<a href=""> <i class="fas fa-phone"></i> +91 8115585868</a>
<a href=""><i class="fas fa-envelope"></i> [email protected]</a>
<a href=""><i class="fas fa-map"></i>china fujian fuzhou</a>
</div>
<div class="box">
<h3>
Follow Us
</h3>
<a href=""><i class="fab fa-facebook-f"></i>facebook</a>
<a href=""><i class="fab fa-instagram"></i>instagram</a>
<a href=""><i class="fab fa-linkedin"></i> linkedin</a>
<a href=""><i class="fab fa-github"></i> github</a>
</div>
</div>
<div class="end">
<p>Created By <span>senjay</span> | All Rights Reserved!</p>
</div>
</div>
</section>
<!-- js 逻辑 -->
<script >
let hd=document.querySelector('.header')
window.addEventListener('scroll',function(){
if(document.documentElement.scrollTop>0)
{
hd.style.backgroundColor='white'
}
else
{
hd.style.backgroundColor=null
}
})
</script>
<script src="./js/index.js"></script>
</body>
</html>