如何更改 IE input type="range" 轨道块高度

Fer*_*res 2 css internet-explorer html-input

有没有办法在 IE 中设置 HTML input type="range" 的高度?我的意思是块高度,而不是轨道高度。这是我所拥有的:

input[type=range]::-ms-track {
    width: 100%;
    height: 6px;
}
Run Code Online (Sandbox Code Playgroud)

使用上面的代码,我得到了一个 6px 高度的轨道,但元素块仍然高得多,如下图所示,我在其中放置了虚线边框以查看块: IE_Input_Range_Track_Height

R R*_*ley 5

您需要将填充设置为 0

input[type=range] {padding: 0;}
Run Code Online (Sandbox Code Playgroud)

http://codepen.io/rachelreveley/pen/Vjdyab