Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorVarunram Ganesh <vrg2009@ymail.com>2018-03-14 02:06:43 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-03-14 02:06:43 +0300
commit03b7f52e820c80e244479c59c0920c541ee1277b (patch)
treedc545da965dafd98edac7414c5900be0294c2fc0 /docs
parent4d5c5923fae8a4f85462708a2b87c0698cd06b79 (diff)
Document `.form-control-range`. (#25839)
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/forms.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md
index 7db4644b8d..fadc2dd27c 100644
--- a/docs/4.0/components/forms.md
+++ b/docs/4.0/components/forms.md
@@ -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.