JSFiddle - React, Tailwind, and code Playground

by Reigel Gallarde

HTML

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<title>[00-01] Main Frame</title>
</head>

<body>
    <div class="wrapper">
        <div class="page-header"></div>
        <div class="page-content">
            <div>
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            a<br />
            </div>
        </div>
        <div class="page-footer"></div>
    </div>
</body>

CSS

/* CSS Mobile Reset */
html, body {
    margin: 0;
    padding: 0; 
    border: 0;
}

body {
    font-family:Arial,  sans-serif;
    line-height:1.5;
    font-size:16px;
    background: #fff;
    padding:5px;
    color: #000;
    word-wrap: break-word;
    -webkit-text-size-adjust: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

p img {
    float: left;
    margin: 0 10px 5px 0;
    padding: 0;
}

img {
    border: 0;
    max-width: 100%;
}

table {
    width:auto;
    border-collapse: collapse;
    border-spacing: 0;
}

/* page css */

.wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.page-header {
    position: relative;
    width: 100%;
    height: 47px;
    background: magenta;
}

.page-content {
    overflow: auto;
    position: fixed;
    top: 47px;
    right: 0;
    bottom: 51px;
    left: 0;
    background: blue;
}

.page-content div {
    position: relative;
    max-height: 100%;
}

.page-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 51px;
    background: black;
}