Комментарии:
Just a small mistake I wanted to address. Inside the CSS media query the '.neu-range-slider' class should be renamed to just '.range-slider'.
You can also add the user-select: none; property on the '.range slider' to make its interactivity smoother.
I tryied to adapt this code with react and using sass but didn't worked...
Still beautifull slider :)
wasting time not working slider
Ответитьtooltip is a bad idea naming class.
ОтветитьTo make the slider work, simply change the selector in the javascript from .thumb to .slider-thumb.
const thumb = container[i].querySelector(".thumb");
should be...
const thumb = container[i].querySelector(".slider-thumb");
wasting time not working slider
Ответитьbeautiful
ОтветитьWell done, nice man
ОтветитьIt's not working! Wastage of time ☹️😤
ОтветитьThanks man, it works fine.
Ответить