JSFiddle - React, Tailwind, and code Playground

HTML

<input type="range" onchange="this.setAttribute('value',this.value);" min="0" max="1" step="0.01" value="0.5" />

CSS

input[type=range]:after{
    content: attr(value);
    color: #000;
    position: absolute;
}