Encountered an issue while developing a page using bootstrap5 relating to the positioning of the footer and main content container. Everything was functioning correctly until the addition of the footer:
Prior to adding the footer: https://i.sstatic.net/80gzR.png
After adding the footer: https://i.sstatic.net/2aoUJ.png
Including a snippet of simplified code here for reference (images and some styles might not be displayed properly):
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arimo&display=swap');
:root {
--top-header-top-position: 0rem;
--header-height: 3.5rem;
...
};
};
*,
::before,
::after {
box-sizing: border-box
}
.modal-backdrop {
...
/* Inserted CSS continues */
...
</h3>
<div class="d-flex">
<a href="" class="text-white" style="text-decoration: none">Terms of service</a>
</div>
<div class="d-flex">
<a href="" class="text-white" style="text-decoration: none">Privacy policy</a>
</div>
<div class="d-flex position-absolute bottom-0 start-2">
<span>©2022 Vegaz All rights reserved</span>
</div>
</div>
</div>
</div>
</footer>