user15346124
user15346124

Reputation:

How can I change range bar cursor color?

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>

Upvotes: 0

Views: 69

Answers (1)

Yohan_qns
Yohan_qns

Reputation: 23

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.

Upvotes: 0

Related Questions