JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>

CSS

.box{
    margin: 10px;
    float: left;
    width: 100px;
    height: 50px;
    background-color: blue;
    border: solid 1px red;
}