After using the following code, my footer stays at the bottom of my page:
In my vue project, #app serves as the container for my content and footer.
#app {
min-height: 100%;
position: relative;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 5rem;
}
This setup works perfectly in Chrome, however, Firefox seems to disregard it and allows my footer to float below my content.
Is there something that I am overlooking?