Hello my html structure would be:
.navbar {
background-color: #62ADD6;
font-size: 15px;
border: 0;
position: fixed;
height: 80px;
}
#pie {
display: block;
position: absolute;
background-color: #2f43c1;
bottom: 0;
position: absolute;
width: 100%;
height: 100px;
padding-top: 5px;
}
#section {
display: block;
position: absolute;
font-size: 20px;
top: 80px;
color: blue;
/*height: calc(100% - 120px);*/
height: 750px;
background-color: black;
width: 100%;
padding: 5px;
}
<nav></nav>
<section></section>
<footer></footer>
How could I make the footer under the section and even if it were made larger than the size of the screen the footer will be lowered with the end of the section?