Skip to content Skip to sidebar Skip to footer

How To Make Div 100% Of Display Height When I Have To Exclude The Navbar

One question I have a div below a navbar. I want that the div has 100% of the remaining space and add a nice padding as Frame around it. It should not be scroll able. Also I cant b

Solution 1:

This should help you: Make a div fill the height of the remaining screen space

Basically you should use flexbox to make the div grow and fill up the rest of the page. Are you familiar with flex box? If not you can read here: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox

Post a Comment for "How To Make Div 100% Of Display Height When I Have To Exclude The Navbar"