简体   繁体   中英

Range Slider's thumb with text

Is it possible to make range slider (js or jQuery) with thumb's text inside?

Like this

像这样

I tried with code below, but it's not working

 .slider::-webkit-slider-thumb::after: content='08:00-10:00'
 <input type="range" min="0" max="100" value="0" step='25'>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM