JSFiddle - React, Tailwind, and code Playground

by IPWright83

HTML

<div class="loaders">
    <div class="loader">
        <div class="loader-inner ball-clip-rotate">
            <div></div>
        </div>
    </div>
</div>

CSS

/* https://github.com/ConnorAtherton/loaders.css MIT */ 
.ball-clip-rotate > div {
    border-radius: 100%;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 3px solid #33BDDE;
    border-bottom-color: transparent;
    height: 15px;
    width: 15px;
    background: transparent !important;
    display: inline-block;
    -webkit-animation: rotate 1.25s 0s linear infinite;
    animation: rotate 1.25s 0s linear infinite;
}
@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}