JSFiddle - React, Tailwind, and code Playground
HTML
<load></load>
CSS
@keyframes girar{
form{transform: rotate(0deg);}
to{transform: rotate(360deg);}
}
load{
display: inline-block;
width: 50px;
height: 50px;
border: 5px solid #cdcdcd;
border-top: 5px dotted red;
border-radius: 50%;
animation: girar 1s linear infinite;
}