Vertical flex grow using css grid
Oct 15, 2021
Make a div fill the height of the remaining screen space
.the-container-div {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto min-content;
height: 100vh;
}
.view-to-remain-small {
grid-row: 2;
}
.view-to-be-stretched {
grid-row: 1
}