JSFiddle - React, Tailwind, and code Playground
HTML
<div class="style">
<input type="radio" />
</div>
<div class="style">
<input type="radio" />
</div>
<div class="style">
<input type="radio" />
</div>
<div class="style">
<input type="radio" />
</div>
CSS
.style
{
border:1px solid red; width:20px; height:20px; text-align:center; margin-top:2px; background-color:#f0ffff;
}