Menu

Let’s Make a Multi-Thumb Slider That Calculates The Width Between Thumbs

June 23rd, 2020

HTML has an <input type=”range”>, which is, you could argue, the simplest type of proportion slider. Wherever the thumb of that slider ends up could represent a proportion of whatever is before and whatever is after it (using the value and max attributes). Getting fancier, it’s possible to build a multi-thumb slider. But we’ve got…