JSFiddle - React, Tailwind, and code Playground

by Hashem Qolami

HTML

<body>    
    <div id="pagewrapper">
        <div id="header">
        </div> <!-- End of Header -->
        <div class="content-left">
            <span class="title">This is left Content</span>
        </div><!-- End of Content Left --><div class="content-right">
        <span class="title">This is Right Content</span>
        </div><!-- End of Content Right -->
        <div id="header-bot">
        </div> <!-- End of Header-Bot -->
        <div id="footer">
        </div> <!-- End of Footer -->
    </div> <!-- End of PageWrapper -->
</body>

CSS

body {
    margin: 80px 0 0;

}

#pagewrapper {
    width: 100%;
}

#header {
    width: 100%;
    height: 80px;
    background-color: #008B8B;
    position: fixed;
    top: 0;
}

.content-left, .content-right {
    width: 50%;
    height: 500px;
    color: #FFFFFF;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    
    text-align: center;
    font-size: 0; /* Optional */
}

.content-left {
    background-color: #66CC99;
}

.content-right {
    background-color: #20B2AA;
}

.content-left:after, .content-right:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
} 

.title {
    vertical-align: middle;
    font-size: 16px;
}

#header-bot {
    height: 800px;
    background-color: #F8F8FF;
}

#footer {
    height: 50px;
    background-color: #AFEEEE;
}