https://i.sstatic.net/PURno.png
I'm currently working on creating a layout that has specific boundaries for each section. The header and footer need to be centered vertically, while the content should extend to the bottom of the viewport. Please keep in mind that the thin lines in the layout are just visual indicators and should not be included in the actual code.
Here's my progress so far:
.wrapper{
display: flex;
flex-direction: column;
height: 100vh;
background-color: pink;
}
header, footer, .content{
border: 1px solid black;
}
header, footer {
flex: 0 0 92px;
}
.content{
flex: 1;
}
<div class="wrapper">
<header>Header</header>
<div class="content">Content</div>
<footer>Footer</footer>
</div>