JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box">
    <header>
    <h2>stuff</h2>
    </header>
    <div class="body">
        things
    </div>
</div>
<div class="box">
    <header>
    <h2>stuff</h2>
    </header>
    <div class="body">
        things
    </div>
</div>
<div class="box">
    <header>
    <h2>stuff</h2>
    </header>
    <div class="body">
        things
    </div>
</div>
<div class="box">
    <header>
    <h2>learn</h2>
    </header>
    <div class="body">
        tocode
    </div>
</div>

CSS

body {
    overflow-x: scroll;
    width:900px;
}
div.box {
    border-radius: 8px;
    box-shadow: 1px 1px 0px #555;
    min-width: 200px;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}

div.box > header {
   background: #333;
    color: white;
    padding: 1px 20px;
}

div.box > header > h2 {
    line-height:20px;
    font-size:20px;
    text-align: center
}

div.box div.body {
    line-height:20px;
    font-size:20px;    
    color:#333;
    background:#eaeaea;
    padding: 20px;
}