JSFiddle - React, Tailwind, and code Playground
HTML
<div id="container">
<div id="content">
<p>content</p>
</div>
</div>
CSS
html, body {
height: 100%;
margin: 0;
}
#container {
background: green;
min-height: 100%;
}
#content {
background: red;
min-height: 100%;
}
#content p {
background: blue;
min-height: 100%;
}