JSFiddle - React, Tailwind, and code Playground

HTML

<span class="circle red"></span>
<div class="circle red"></div>

CSS

.circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}
.red {
    background: red;
}