Hey everyone! I'm a beginner in the world of web development and currently working on creating my own website. I've run into an issue with my footer - I want it to stay fixed at the bottom even when zoomed in, but for some reason, when I zoom in, the footer moves up as shown in the screenshot below. I've tried searching for a solution online but haven't been able to find one. Can anyone help me out? SCREENSHOT ALL CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
...
... (code continues)
...
</style>
</html>
HTML:
<footer class="page-footer font-small blue pt-4">
<div class="container-fluid text-center text-md-left">
<div class="row">
<div class="col-md-6 mt-md-0 mt-3">
<h4 class="text-uppercase"><b>About</b></h4>
<p>Bright World is a multinational corporation headquartered<br>in Pakistan, one of the largest
electronics companies in the<br>world, currently focused in the area of lighting. It
was<br>founded in by Gerard Mark and his father<br>Frederik, with their
first products being light bulbs.</p>
...
... (code continues)
...
<div class="footer-copyright text-center py-3">© Copyright 2021 BrightWorld
</div>
</footer>
CSS:
.page-footer {
background-color: #1B1B1B;
color: white;
position: relative;
}
.footer-copyright {
background-color: #090909;
color: white;
}
...
... (css code continues)
...
Before zooming in chrome: https://i.sstatic.net/7xmgE.jpg After zooming in 125% in chrome: https://i.sstatic.net/fuqNb.jpg