JSFiddle - React, Tailwind, and code Playground

HTML

<body>
    <div id="wrap">
        <div id="header">
            <h1>Lorem ...</h1>

        </div>
        <div id="main">
            <div id="content"></div>
            <div id="side"></div>
        </div>
    </div>
    <div id="footer">
        <h1>Something</h1>

    </div>
</body>

CSS

html, body {
    height: 100%;
}
#wrap {
    min-height: 100%;
}
#header {
    width:98.5%;
    background-color:#1D0870;
    z-index: 9999;
    position: absolute;
    top: 0;
}
#main {
    overflow:auto;
    padding-bottom: 150px;
}
/* must be same height as the footer */
 #footer {
    position: relative;
    margin-top: -150px;
    /* negative value of footer height */
    height: 150px;
    clear:both;
    background-color:#1D0870;
    width: 98.5%;
}