【发布时间】:2015-09-12 18:51:55
【问题描述】:
我不使用 jquery 滑块。我使用 bootstrap 3。我想用 0、500、1000 标记我的范围滑块。我希望它可以在移动设备、台式机、平板电脑上运行。
.ios-range-slider {
-webkit-appearance: none;
border-radius: 10px;
background-color: #D7DEDD;
width: 100%;
height: 10px;
}
input[type="range"]::-webkit-slider-thumb{
-webkit-appearance: none;
background-color: white;
border-radius: 10px;
width: 15px;
height: 15px;
border: 1px solid gray;
}
【问题讨论】:
-
如果您提供 sn-p 或 Fiddle 会很有帮助,因为您的问题不仅限于其 CSS 代码。
标签: javascript html css twitter-bootstrap-3 uislider