JSFiddle - React, Tailwind, and code Playground

by sandeepkundu

HTML

<div class="main">
    <article>
        <h1>Article</h1>
    </article>       
    <aside>
       <h1>Aside</h1>
    </aside>    
</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;
}
article, aside{
    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:290px;
    float:left;
    min-height:100px;
}
aside{
    width:110px;
    float:right;
    min-height:100px;
    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 2px 2px #cacaca;
    -webkit-box-shadow: 0 0 2px 2px #cacaca;
    box-shadow: 0 0 2px 2px #cacaca;
}