JSFiddle - React, Tailwind, and code Playground
by Vikas
HTML
<div class='test'>
</div>
CSS
.test {
width : 100px;
height: 100px;
border : 10px solid red;
border-top : 10px solid white;
border-radius : 100%;
animation: spin 1s linear infinite
}
@keyframes spin {
100% {
transform : rotate(360deg)
}
}