JSFiddle - React, Tailwind, and code Playground

HTML

<div id="wrapper">
    <div class="w1">
        <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
         <p>Footer at bottom: Fixed Footer Height</p>
    </div>
</div>
<div id="footer">
     <p>Footer at bottom: Fixed Footer Height</p>
</div>

CSS

html,body {
    height: 100%;
    margin: 0;
}
#wrapper {
    min-height: 100%;
}
* html #wrapper {
    height: 100%;
}
.w1 {
    padding-bottom: 50px; /* footer height */
    background-color: #ccc;
}
#footer {
    text-align: center;
    line-height: 50px;
    position:relative;
    width: 100%;
    height: 50px;
    margin-top: -50px; /* footer height */
    background-color: #f00;
}