Skip to content

Commit 2eeb693

Browse files
committed
footer
1 parent fe9a8b6 commit 2eeb693

File tree

2 files changed

+137
-2
lines changed

2 files changed

+137
-2
lines changed

index.html

+43-1
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,51 @@ <h2>Rs.850 | Rs.850 <span>/day</span></h2>
143143
<section class="about" id="about">
144144
<div class="heading">
145145
<span>About Us</span>
146-
<h1>Lorem ipsum dolor sit amet consectetur adi Libe</h1>
146+
<h1>Get to know more about our company, our mission, and our commitment to providing the best cab rental services.</h1>
147147
</div>
148148
</section>
149+
<footer>
150+
<div class="footer-container">
151+
<div class="call-us">
152+
<p>Questions? Call 000-080-000-000</p>
153+
</div>
154+
<div class="footer-links">
155+
<div class="footer-column">
156+
<ul>
157+
<li><a href="#">Home</a></li>
158+
<li><a href="#">About Us</a></li>
159+
<li><a href="#">Privacy</a></li>
160+
<li><a href="#">Services</a></li>
161+
</ul>
162+
</div>
163+
<div class="footer-column">
164+
<ul>
165+
<li><a href="#">Help Center</a></li>
166+
<li><a href="#">Blog</a></li>
167+
<li><a href="#">Cookies Preferences</a></li>
168+
<li><a href="#">Legal Notices</a></li>
169+
</ul>
170+
</div>
171+
<div class="footer-column">
172+
<ul>
173+
<li><a href="#">Account</a></li>
174+
<li><a href="#">Contact Us</a></li>
175+
<li><a href="#">Corporate Information</a></li>
176+
<li><a href="#">Pricing</a></li>
177+
</ul>
178+
</div>
179+
<div class="footer-column">
180+
<ul>
181+
<li><a href="#">Media Center</a></li>
182+
<li><a href="#">Terms of Use</a></li>
183+
<li><a href="#">Contact Us</a></li>
184+
</ul>
185+
</div>
186+
</div>
187+
</div>
188+
</footer>
189+
190+
149191
<!-- Link to JS -->
150192
<script src="main.js"></script>
151193
</body>

style.css

+94-1
Original file line numberDiff line numberDiff line change
@@ -332,4 +332,97 @@ input[type="submit"] {
332332
background-color: #4CAF50;
333333
color: white;
334334
cursor: pointer;
335-
}
335+
}
336+
body {
337+
font-family: Arial, sans-serif;
338+
margin: 0;
339+
padding: 0;
340+
}
341+
342+
footer {
343+
background-color: #141414;
344+
color: #999;
345+
padding: 40px 20px;
346+
}
347+
348+
.footer-container {
349+
max-width: 1200px;
350+
margin: 0 auto;
351+
}
352+
353+
.call-us {
354+
text-align: center;
355+
margin-bottom: 20px;
356+
}
357+
358+
.call-us p {
359+
margin: 0;
360+
}
361+
362+
.footer-links {
363+
display: flex;
364+
flex-wrap: wrap;
365+
justify-content: space-between;
366+
margin-bottom: 20px;
367+
}
368+
369+
.footer-column {
370+
flex: 1;
371+
margin: 10px;
372+
}
373+
374+
.footer-column ul {
375+
list-style: none;
376+
padding: 0;
377+
}
378+
379+
.footer-column ul li {
380+
margin-bottom: 10px;
381+
}
382+
383+
.footer-column ul li a {
384+
color: #999;
385+
text-decoration: none;
386+
transition: color 0.3s;
387+
}
388+
389+
.footer-column ul li a:hover {
390+
color: #fff;
391+
}
392+
393+
.language-selector {
394+
text-align: center;
395+
}
396+
397+
.language-selector button {
398+
background-color: #141414;
399+
border: 1px solid #333;
400+
color: #999;
401+
padding: 10px 20px;
402+
cursor: pointer;
403+
transition: background-color 0.3s, color 0.3s;
404+
display: flex;
405+
align-items: center;
406+
justify-content: center;
407+
}
408+
409+
.language-selector button img {
410+
margin-left: 10px;
411+
}
412+
413+
.language-selector button:hover {
414+
background-color: #333;
415+
color: #fff;
416+
}
417+
418+
@media (max-width: 768px) {
419+
.footer-links {
420+
flex-direction: column;
421+
align-items: center;
422+
}
423+
424+
.footer-column {
425+
margin: 20px 0;
426+
text-align: center;
427+
}
428+
}

0 commit comments

Comments
 (0)