Customizing input[type="range"] with CSS

Info from http://glazkov.com/2011/01/14/what-the-heck-is-shadow-dom/

by yahyaKACEM

HTML

<input type="range" min="0" max="100" />

CSS

input[type=range] {
    -webkit-appearance: none;
    background-color: silver;
    width: 200px;
    height:20px;
}

input[type="range"]::-webkit-slider-thumb {
     -webkit-appearance: none;
    background-color: #666;
    opacity: 0.5;
    width: 10px;
    height: 26px;
}