tags:

views:

448

answers:

2

Is there a way to style HTML5's range control? Is it possible to change the color of the line the slider slides on?

+1  A: 

I don't think so, but you can use this which looks really nice.

Matt
+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
Its just hiding the range control. How to stylize it? I mean what properties we need to set?
coure06