JSFiddle - React, Tailwind, and code Playground

by ilyador

HTML

<div class="round">
    <div class="progress"></div>
</div>

CSS

.round {
    background-color: yellow;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    position: relative;
 /*  z-index: 1; adding this reverses the order back to normal */
}

.progress {
    position: absolute;
    background-color: #6eb348;
    border-radius: 50%;
    top: -4px;
    bottom: -4px;
    left: -4px;
    right: -4px;
    z-index: -1; /* I need this to be higher then 0 */
}