JSFiddle - React, Tailwind, and code Playground

by sandeepkundu

HTML

<div class="main">
    <header>
       <h1>Header</h1>
    </header>
    <article>
        <hgroup>
            <h1>Hgroup</h1>
        </hgroup>
    </article>       
    <aside>
       <h1>Aside</h1>
    </aside>
    <footer>
       <h1>Footer</h1>
    </footer>     
</div>

CSS

body{
    background:#fff;
}
*{
    margin:0;
    padding:0;
}
.main{
    width:500px;
    margin:0 auto;
}

h1{
    font:oblique 22px Georgia, "Times New Roman", Times, serif;
}

p{
    font:oblique 14px/19px Arial, Helvetica, sans-serif;
    padding:5px 0 0;
}
article, aside, header, footer, section, hgroup{
    border:1px solid #b6b6b6;
    padding:15px;    
    margin-top:15px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
article{
    width:320px;
    float:left;
    padding:0 0 15px;
    min-height:215px;
}
hgroup{
    width:289px;
    padding:15px;
    background: #eee;
    background: -moz-linear-gradient(top, #fff, #efeded);
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#efeded));
    -pie-background: linear-gradient(top, #fff, #efeded);
    -moz-box-shadow: 0 0 1px 1px #cacaca;
    -webkit-box-shadow: 0 0 1px 1px #cacaca;
    box-shadow: 0 0 1px 1px #cacaca;
    margin-top:0px;
    -webkit-border-radius:10px 10px 0px 0px;
    -khtml-border-radius:10px 10px 0px 0px;
    -moz-border-radius:10px 10px 0px 0px;
    border-radius:10px 10px 0px 0px;
}
aside{
    width:110px;
    float:right;
    min-height:200px;
}
footer, header{
    width:470px;
    float:right;
}