I want my panel to take up all the screen until the footer even if the panel is empty. If the panel is filled I want to scroll to see the content, but the footer should always b
Bootstrap has removed all the variants of *-xs-*
classes. Instead of, col-xs-12
, use col-12
. Since the column is 100% for all sizes, it is enough to use col-12
.
d-flex flex-column h-100
for the parent of the row.col-12
and panel
must have 100%
height.row
for the footer. footer
: remove position: absolute; bottom: 0;right: 0;
html,
body {
height: 100%;
}
Result
test
You can use container
instead of container-fluid
. It does not make any difference. Buy if you do so,remove the container that is in the footer.
html,
body {
height: 100%;
}
Result
test