A tiny polyfill for HTML5 multi-handle sliders.
<input type="range" multiple value="10,80" />
Download JS
Download CSS
input.value, input.valueLow, input.valueHigh)<input type="range"> (duh).input.value not polyfilled in Safari (will be the same as input.valueLow).multirange(element) function to process sliders added to the page later.
--range-color property to change the color of the range.
Use the --track-background property for more extensive customization.
multiple attribute to enable the second handle.
Use data-drag-middle attribute to enable moving both handles by dragging the middle of the track between them (as in the third example input).