JSFiddle - React, Tailwind, and code Playground
by elcoyote67
HTML
<div id="ussr-loading-bar-wrapper" class="ussr-state-loading ussr-loading-bar" style="display: none;">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
CSS
.ussr-state-loading > div:nth-child(1) {
animation-delay: 0.15s;
transform: rotate(0deg) translate(0%, -85%);
}
.ussr-state-loading > div {
animation: 1.2s linear 0s normal none infinite ussr-state-loading-fade-toggle;
background-color: #575757;
border-radius: 50% 50% 45% 45% / 39% 39% 65% 65%;
box-shadow: 0 0 5px #555555;
display: block;
height: 50%;
opacity: 0.05;
position: absolute;
width: 20%;
}
.ussr-state-loading > div:nth-child(3) {
animation-delay: 0.45s;
transform: rotate(90deg) translate(0%, -85%);
}
.ussr-state-loading > div {
animation: 1.2s linear 0s normal none infinite ussr-state-loading-fade-toggle;
background-color: #575757;
border-radius: 50% 50% 45% 45% / 39% 39% 65% 65%;
box-shadow: 0 0 5px #555555;
display: block;
height: 50%;
opacity: 0.05;
position: absolute;
width: 20%;
}
.ussr-state-loading > div:nth-child(4) {
animation-delay: 0.6s;
transform: rotate(135deg) translate(0%, -85%);
}
.ussr-state-loading > div {
animation: 1.2s linear 0s normal none infinite ussr-state-loading-fade-toggle;
background-color: #575757;
border-radius: 50% 50% 45% 45% / 39% 39% 65% 65%;
box-shadow: 0 0 5px #555555;
display: block;
height: 50%;
opacity: 0.05;
position: absolute;
width: 20%;
}
.ussr-state-loading > div:nth-child(5) {
animation-delay: 0.75s;
transform: rotate(180deg) translate(0%, -85%);
}
.ussr-state-loading > div {
animation: 1.2s linear 0s normal none infinite ussr-state-loading-fade-toggle;
background-color: #575757;
border-radius: 50% 50% 45% 45% / 39% 39% 65% 65%;
box-shadow: 0 0 5px #555555;
display: block;
height: 50%;
opacity: 0.05;
position: absolute;
width: 20%;
}
.ussr-state-loading > div:nth-child(6) {
animation-delay: 0.9s;
transform: rotate(225deg) translate(0%, -85%);
}
.ussr-state-loading > div {
animation: 1.2s linear 0s normal none...