I am currently developing a website using bootstrap and I am facing an issue with the footer. I want the footer to always stay at the bottom of the page, but when the screen size is smaller (around 500px), the footer moves between sections. Here is the code snippet for the same:
<!-- Bootstrap-5 -->
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0f6d60607b7c7b7b7f6e7f4f3a213f213d">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cfada0a0bb8cbbbaab9eaeadaf8eea7bfb3">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<!-- Body -->
<section class="container ourservices text-center" id="ourservices">
<h1>SERVICES</h1>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Possimus, dolor!</p>
<div class="row mt-5">
<div class="col-lg-4 col-md-4 col-sm-4 col-10 d-block mx-auto">
<div class="imgsetting d-flex align-items-center justify-content-center mx-auto bg-warning">
<i class="fa fa-shopping-cart fa-3x" style="color: white;"></i>
</div>
<h2>E-Commerce</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quo commodi officia provident odio soluta similique non eveniet perferendis nulla a laudantium, dignissimos dolore deleniti nam expedita vel molestiae unde beatae.
</p>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-10 d-block mx-auto">
<div class="imgsetting d-flex align-items-center justify-content-center mx-auto bg-warning">
<i class="fa fa-display fa-3x" style="color: white;"></i>
</div>
<h2>Responsive Design</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quo commodi officia provident odio soluta similique non eveniet perferendis nulla a laudantium, dignissimos dolore deleniti nam expedita vel molestiae unde beatae.
</p>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-10 d-block mx-auto">
<div class="imgsetting d-flex align-items-center justify-content-center mx-auto bg-warning">
<i class="fa fa-lock fa-3x" style="color: white;"></i>
</div>
<h2>Web Security</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quo commodi officia provident odio soluta similique non eveniet perferendis nulla a laudantium, dignissimos dolore deleniti nam expedita vel molestiae unde beatae.
</p>
</div>
</div>
</section>
<footer class="text-warning">
<p class="">TECH PEEPS PVT LTD© 2022</p>
</footer>