How can I change range bar cursor color?

Viewed 30

How can I change range bar cursor color? enter image description here

My code is

              <input className="range-input" type="range" name="speed" min="0" max="100" 
              value={brightness_value} onChange={handleSliderChange}></input>
1 Answers

you can change the color of the cursor like this :

input[type=range]::-ms-thumb {
  background: // your color;
}

Check this website : Style input range, you will find any answers with range input.

Related