JSFiddle - React, Tailwind, and code Playground
HTML
<div id="pageContent"></div>
CSS
#pageContent
{
background-color: #000;
width: 500px;
}
JavaScript
$(document).ready(function(){
var height = $(window).height(); //Get the height of the browser window
$('#pageContent').height(height - 60); //Resize the pageContent div, with a size of 60 - page height.
});