[英]Angular rzslider: max value for min & min value for max; range slider
[英]html-5 range slider max and min value
我正在使用html-5滑塊
<input type="range" .. />
我想分別在左側和右側滑動min
和max
。 我怎樣才能做到這一點?
嘗試
<input type="range" min="20" max="80" />
此外,以下屬性可應用於input type="range"
如果要在左側和右側顯示min
和max
,只需在那里打印:
10 <input type="range" min="10" max="20" /> 20
你也可以使用css,雖然它沒有被廣泛支持。
input[type="range"]:before {
content: attr(min) " ";
}
input[type="range"]:after {
content: " " attr(max);
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.