Home › Forums › CSS › Bootstrap panel body 100% height of parent div › Reply To: Bootstrap panel body 100% height of parent div
December 30, 2015 at 2:32 am
#236247
Atelierbram
Participant
If using the latest browsers, I guess one could use the viewport-unit vh
in combination with calc
, and maybe give that page-header and page-footer a fixed height.
.panel-body {
/* height: 480px; */
height: calc(100vh - 200px);
overflow-y: auto;
}