Skip to content

Commit ffacb5b

Browse files
committed
about us responsiveness
1 parent 3e9c39d commit ffacb5b

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

about-us.css

+5-6
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ form input {
362362
footer {
363363
background-color: #fff;
364364
color: black;
365-
padding: 30px 0;
366365
}
367366

368367
.footer-container {
@@ -514,16 +513,16 @@ footer {
514513
.mission-img-container img{
515514
width: 330px;
516515
}
516+
.co_workers {
517+
width: 120px;
518+
height: 120px;
519+
}
517520

518521
}
519522
/*----------------------final footer styling---------------------*/
520523

521524
.final-footer {
522-
padding: 1% 4%;
523-
display: grid;
524-
grid-template-columns: repeat(3, 300px);
525-
justify-content: center;
526-
background: rgba(201, 226, 101, 0.2);
525+
527526
}
528527

529528
@media screen and (max-width: 600px) {

about-us.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@
186186
<span>Making Impact, Changing Lives!</span>
187187
</div>
188188

189-
<div class="container MS_Container">
189+
<div class="container MS_Container position-relative d-flex justify-content-center align-items-center flex-column">
190190
<div
191-
class="row position-relative mb-lg-5 d-flex flex-column flex-md-row"
191+
class="row position-relative mb-lg-5 d-flex flex-column flex-md-row px-2 w-100"
192192
>
193193
<div class="col">
194194
<div class="mission_container my-5 d-flex flex-column">
@@ -210,7 +210,7 @@ <h2>Our Mission</h2>
210210
</div>
211211

212212
<div
213-
class="row position-relative d-flex flex-column-reverse flex-md-row"
213+
class="row position-relative d-flex flex-column-reverse flex-md-row px-2 w-100"
214214
>
215215
<div class="col">
216216
<div
@@ -422,7 +422,7 @@ <h5 class="name_of_team">Sam Smith</h5>
422422
</div>
423423

424424
<div
425-
class="co-workers_container d-flex flex-wrap justify-content-center gap-lg-5"
425+
class="co-workers_container d-flex flex-wrap justify-content-center gap-lg-5 gap-5"
426426
>
427427
<div class="d-flex flex-column align-items-center gap-2">
428428
<div class="co_workers position-relative d-block">
@@ -486,8 +486,8 @@ <h4 class="text-center text-white">
486486

487487
<!-------------------------footer section area-------------------->
488488

489-
<footer class="py-5 bg-light">
490-
<div class="footer-container px-3">
489+
<footer class="py-md-5 bg-light">
490+
<div class="footer-container px-3 py-4">
491491
<div class="quick-links">
492492
<h5 class="" style="font-weight: 500">Quick Links</h5>
493493
<ul class="d-block list-unstyled gap-4">
@@ -624,7 +624,7 @@ <h5 class="" style="font-weight: 500">Subscribe to our Newsletter</h5>
624624
</div>
625625
</footer>
626626

627-
<section class="final-footer py-md-5 bg-light">
627+
<section class="final-footer py-5 bg-light">
628628
<div class="item item1"></div>
629629
<div class="item item2 text-center">
630630
<i class="fa-solid fa-tractor"></i>

0 commit comments

Comments
 (0)