0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Document .form-control-range. (#25839)

This commit is contained in:
Varunram Ganesh 2018-03-14 04:36:43 +05:30 committed by XhmikosR
parent 4d5c5923fa
commit 03b7f52e82

View File

@ -105,6 +105,19 @@ Set heights using classes like `.form-control-lg` and `.form-control-sm`.
</select>
{% endexample %}
## Range Inputs
Set horizontally scrollable range inputs using `.form-control-range`.
{% example html %}
<form>
<div class="form-group">
<label for="formControlRange">Example Range input</label>
<input type="range" class="form-control-range" id="formControlRange">
</div>
</form>
{% endexample %}
### Readonly
Add the `readonly` boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.