Is there a way to style HTML5's range control? Is it possible to change the color of the line the slider slides on?
+2
A:
Turns out, there is in webkit:
input[type="range"]{
-webkit-appearance:none !important;
}
input[type="range"]::-webkit-slider-thumb{
-webkit-appearance:none !important;
}
You can then add whatever attributes you need to each those selectors. Background, gradient, etc...
Hope that helps!
majman
2010-06-10 20:04:09
Its just hiding the range control. How to stylize it? I mean what properties we need to set?
coure06
2010-09-27 09:09:59