I am trying to set a fixed header and fixed footer where the inner content container can be any size and it doesn't effect the header/footer size. I am a bit stuck and can't tell if I am using flex-basis
incorrectly here for the .container div
styling ?
.container {
display: flex;
flex-direction: column;
}
.container div {
flex-basis: 50px;
}
.header {
background: red;
}
.content {
background: pink;
}
.footer {
background: green;
}
<div class="container">
<div class="header"></div>
<div class="content">
<div class="footer"></div>
</div>