JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
    
    <head lang="en">
        <meta charset="UTF-8">
        <title>loading</title>
    </head>
    
    <body>
        <section class="mod model-1">
            <div class="spinner"></div>
        </section>
        <section class="mod model-2">
            <div class="spinner"></div>
        </section>
        <section class="mod model-3">
            <div class="spinner"></div>
        </section>
        <section class="mod model-4">
            <div class="spinner"></div>
        </section>
        <section class="mod model-5">
            <div class="spinner"></div>
        </section>
        <section class="mod model-6">
            <div class="spinner"></div>
        </section>
        <section class="mod model-7">
            <div class="spinner"></div>
        </section>
        <section class="mod model-8">
            <div class="spinner"></div>
        </section>
        <section class="mod model-9">
            <div class="spinner"></div>
        </section>
        <section class="mod model-10">
            <div class="spinner"></div>
        </section>
    </body>

</html>

CSS

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: arial;
}
body {
    padding: 0;
    margin: 0;
    text-align: center;
    font-family: arial;
}
section {
    height: 250px;
    float: left;
    width: 50%;
    position: relative;
}
.spinner {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.model-1 {
    background: #202020;
}
.model-1 .spinner {
    color: #f00;
    -webkit-animation: color-bubble 2s linear 0s infinite;
    animation: color-bubble 2s linear 0s infinite;
}
.model-1 .spinner:after, .model-1 .spinner:before {
    content:'';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 100%;
    box-shadow: 0 0 0 3px;
    -webkit-animation: spinner-bubble 1.3s linear 0s infinite;
    animation: spinner-bubble 1.3s linear 0s infinite;
    margin: auto;
    width: 10px;
    height: 10px;
    opacity: 0;
}
.model-1 .spinner:before {
    -webkit-animation: spinner-bubble 1.3s linear 2s infinite;
    animation: spinner-bubble 1.3s linear 2s infinite;
}
.model-2 {
    background: #4B346F;
}
.model-2 .spinner {
    border: 1px solid;
    -webkit-animation: rotate 1.3s linear 0s infinite, color-bubble 3s linear 0s infinite;
    animation: rotate 1.3s linear 0s infinite, color-bubble 3s linear 0s infinite;
}
.model-2 .spinner:after {
    content:'';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 100%;
    -webkit-animation: color-change 3s linear 0s infinite;
    animation: color-change 3s linear 0s infinite;
    left: -5px;
    top: 18px;
}
.model-3 {
    background: #BF1B21;
}
.model-3 .spinner {
    background: #fff;
    height: 40px;
    border-radius: 0;
    -webkit-animation: rotateRct 1.2s ease-in-out infinite, color-change 1.3s ease-in-out infinite;
    animation:...