JSFiddle - React, Tailwind, and code Playground

by mrtsherman

HTML

<div id="wrapper">
<div id="header" class="wsite-header">
<h1 class="title1">{title}</h1>
</div>
<div id="navigation">
{menu}
</div>
<div id="content">
<div id="content-main" class="wsite-theme">
    hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />    hello world <br />
        hello world <br />
        hello world <br />
        hello world <br />    hello world <br />    hello world <br />    hello world <br />    hello world <br />    hello world <br />    hello world <br />
</div>
<div id="footer">
{footer}
</div>
</div>
</div>

CSS

body{
background:#000099 url('repeat.png') repeat-x;
margin-bottom:50px;
}



div.wsite-theme{
background-color:#FFFFFF;
border-top:5px solid #AAAAAA;
}

div.wsite-header{
background:#DDDDDD;
border-radius:5px;
}

#wrapper {
width:960px;
margin:0pt auto;
}

#content{
width:850px;
min-height:694px;
position:absolute;
left:98px;
top:150px;
}

#content-main{
width:100%;
min-height:594px;
position:absolute;
top:0px;
}

#navigation{
min-height:1px;
position:absolute;
left:98px;
top:90px;
line-height:2px;
padding:10px 10px;
width:850px;
}

#header{
width:850px;
height:150px;
position:absolute;
top:5px;
left:98px;
}

#footer{
width:100%;
height:100px;
background:#DDDDDD;
position:absolute;
bottom:0px;
border-top:5px solid #AAAAAA;
}