Style range property
I saw some website where someone styled the html5 range input and changed what it's handle looked like. How could I do that? Ar开发者_如何学Ce there CSS3 properties for it's handle, or should I make an image that covers it and stays on top with javascript?
No, there is currently no hooks in CSS to target the slide knob. You'd have to try hacking it with JS for now. Hopefully a future version of CSS Basic UI will define a way to do this.
You can in Webkit, through the :-webkit-slider-thumb pseudo-element: http://jsfiddle.net/leaverou/BNm8j/
精彩评论