我如何使用CSS将图像设置为范围输入类型的滑块?在Internet Explorer中无法正常工作。 在Chrome和Firefox中可以,但在IE中我的图像被隐藏或其他原因?我使用
::-ms-thumb
,并尝试将图像设置为背景。 我该如何使用CSS进行修复?input[type="range"]::-webkit-slider-thumb
{
-webkit-appearance: none;
background-image: url('../images/slider.png');
opacity: 1;
width: 40px;
height: 19px;
position: relative;
top: 0px;
z-index: 99;
}
::-moz-range-thumb{
background-image: url('../images/slider.png');
width:40px;
height:19px;
}
::-ms-thumb{
background-image: url('../images/slider.png');
width:40px;
height:19px;
z-index: 9999;
display: block;
background-color: transparent;
}
IE, Chrome & Firefox 滑块 http://imageshack.com/a/img401/9131/dqwb.jpg