CSS-only custom range slider
Use modern CSS tricks to create fancy range sliders with a little code
- No extra element (only the
<input>
element) - Optimized with CSS variables
- Transparent gap around the thumb
See the Pen CSS only custom range sliders by Temani Afif (@t_afif) on CodePen.
Related sitepoint.com/css-custom-range-slider/