Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
How to Customize Range Slider?

https://hrx66w.csb.app/ How to customize styles for this slider selected range color & pointer color ?

 <input
          ref={this.inputRef}
          id="sliderId"
          className="inputR w-100"
          name="sliderName"
          type="range"
          min={minValue}
          max={maxValue}
          value={this.state.value}
          onChange={this.handleChange(minValue, maxValue)}
          style={styleInput}
        />
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Use accent-color in your css file

// Example

.inputR {
  accent-color: red;
}

This is good for styling inputs type range, checkbox, radio and progress.

https://developer.mozilla.org/en-US/docs/Web/CSS/accent-color

about 4 years ago · Juan Pablo Isaza Report

0

From your example, I can say that the style you have applied is overridden by browser. To counter that, you should reset all styles for the slider before any customization. You can add this to your styles.

.inputR {
  -webkit-appearance: none;
}
 
.inputR:focus {
  outline: none;
}

.inputR::-webkit-slider-thumb {
  -webkit-appearance: none;
  border-radius: 50%;
  background: rgba(179, 35, 179, 0.75);
  height: 16px;
}
 
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!