JSFiddle - React, Tailwind, and code Playground

by darcyclarke

HTML

<progress max="100%"></progress>

CSS

progress {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 150px;
    height: 20px;
    position: relative;
}

progress:before {
    content: '';
    display: block;
    width: 150px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    background: red;
    z-index: 999;
}