JSFiddle - React, Tailwind, and code Playground

by ankitjc

HTML

<div id="container">
    <div id="header">HEADER</div>
    <div id="menu-bar">MENU BAR</div>
    <div id="middle">
        <div id="left-side">
             <h3>side1</h3> 
            <ul>
                <li>Let me say hello</li>
            </ul>
        </div>
        <div id="middle-content">
             <h2>main content</h2> 
            <p>Hello Hello Hello
                <br/>Hello Hello Hello
                <br/>Hello Hello Hello
                <br/>Hello Hello Hello
                <br/>Hello Hello Hello
                <br/>
            </p>
        </div>
        <div id="right-side">
             <h3>side2</h3> 
            <ul>
                <li>Hiii</li>
            </ul>
        </div>
    </div>
    <div id="footer">
         <h3>footer</h3> 
    </div>
</div>

CSS

#container {

    width: 950px;

    margin: 0 0 0 10px;

    padding: 0;

}

#header {

    position: relative;

    width:100%;

    height:100px;

    top: 0px;

    background-color:#9eb9c2;

}

#menu-bar {

    width:100%;

    height: 20px;

    color :red;

}

#left-side {

    position: inherit;

    float:left;

    width:25%;

    min-height: 200px;

    top: 0px;

    left:0px;

    background-color: #FF6666;

}

#middle-content {

    position: inherit;

    float:left;

    width: 50%;

    min-height: 200px;

    background-color: #cccccc;

}

#right-side {

    float: right;

    width:25%;

    min-height: 200px;

    position: inherit;

    top: 0px;

    background-color: #00FF66;

}

#footer {

    position: relative;

    height: 60px;

    width: 100%;

    clear: both;

    background-color: blue;

}