我想要输入输入类型的左边部分:范围为#555555,并且右边的滑块超过#FFFFFF。
#seekslider {
position: fixed;
bottom: 30px;
left: 0px;
right: 0px;
height: 5px;
-webkit-appearance: none !important;
background-color: #FFFFFF;
}
#seekslider::-webkit-slider-thumb {
-webkit-appearance: none !important;
background-color: #006CD0;
height: 13px;
width: 13px;
border-radius: 100%;
cursor: pointer;
}
<input id="seekslider" type="range" min="0.0" max="100.0" value="0" step="0.1">
答案 0 :(得分:0)
#seekslider {
position: fixed;
bottom: 30px;
left: 0px;
right: 0px;
height: 5px;
-webkit-appearance: none !important;
background-color: #FFFFFF;
}
#seekslider::-webkit-slider-thumb {
-webkit-appearance: none !important;
background-color: #006CD0;
height: 13px;
width: 13px;
border-radius: 100%;
cursor: pointer;
}
&#13;
<input id="seekslider" type="range" min="0.0" max="100.0" value="0" step="0.1">
&#13;
#seekslider {
position: fixed;
bottom: 30px;
left: 0px;
right: 0px;
height: 5px;
-webkit-appearance: none !important;
background-color: #FFFFFF;
}
#seekslider::-webkit-slider-thumb {
-webkit-appearance: none !important;
background-color: #006CD0;
height: 13px;
width: 13px;
cursor: pointer;
position:relative;
box-shadow: 0 0 0 red,
-13px 0 0 red,
-26px 0 0 red,
-39px 0 0 red,
-52px 0 0 red,
-65px 0 0 red,
-78px 0 0 red,
-91px 0 0 red,
-104px 0 0 red,
-117px 0 0 red;
z-index:2;
}
&#13;
<input id="seekslider" type="range" min="0.0" max="100.0" value="0" step="0.1">
&#13;