JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container-main">
<div class="nav-bar">top nav bar</div>
<div class="container-dd">
<div class="dd-fill">
<p>list item</p>
<p>list item</p>
<p>list item</p>
<p>list item</p>
<p>list item</p>
<p>list item</p>
<p>list item</p>
<p>list item</p>
<p>list item</p>
</div>
<div class="dd-bot">sticky footer</div>
</div>
</div>
CSS
html, body {
height: 100%;
}
.container-main {
display: flex;
height: 100%;
flex-flow: column;
}
.nav-bar {
display: flex;
height: 36px;
background-color: grey;
}
.container-dd {
height: 100%;
display: flex;
flex-flow: column;
}
.dd-fill {
display: flex;
flex-flow: column;
flex: 1 1 auto;
background-color: green;
overflow: hidden;
}
.dd-bot {
display: flex;
height: 100px;
}