Style lower and upper fill in HTML5 range input

前端 未结 5 610
北海茫月
北海茫月 2020-12-05 07:33

As explained here, IE allows styling of the lower and upper fill or track regions in CSS as follows:

5条回答
  •  误落风尘
    2020-12-05 07:46

    At this stage there is still no option for native implementation of -ms-fill-lower or -moz-fill-lower in Chrome. Manipulating the range input element with RangeSlider.js was not an option so I used the tweaking technique with CSS linear Gradients and little bit of javascript to fire css changes on input range thumb movement Hope this helps someone check example on Codepen

提交回复
热议问题