JSFiddle - React, Tailwind, and code Playground

HTML

<body>    
<div class="head">
    Head
</div>

<div class="container">
    Content
</div>    


<div class="foot">
    Foot
</div>
</body>

CSS

body{height:100%;
     width:100%;
}
.head {
	background-color: red;
    background-repeat: repeat-x;
    height: 100px; 
    
}




.container {
    background-color: yellow;     
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;  
    min-height: 250px;
}


.foot {
	background-color: blue;
    background-repeat: repeat-x;
    min-height: 100px; 
    width:100%;
    bottom: 0;
    position:fixed;
}

.head, .container, .foot{display:block;}