Skip to content

Commit b36599c

Browse files
committed
closes #26543, fixes #26542
1 parent 616ce9b commit b36599c

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/4.1/components/forms.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,6 @@ Set heights using classes like `.form-control-lg` and `.form-control-sm`.
110110
{% endcapture %}
111111
{% include example.html content=example %}
112112

113-
## Range Inputs
114-
115-
Set horizontally scrollable range inputs using `.form-control-range`.
116-
117-
{% capture example %}
118-
<form>
119-
<div class="form-group">
120-
<label for="formControlRange">Example Range input</label>
121-
<input type="range" class="form-control-range" id="formControlRange">
122-
</div>
123-
</form>
124-
{% endcapture %}
125-
{% include example.html content=example %}
126-
127113
### Readonly
128114

129115
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.
@@ -170,6 +156,20 @@ If you want to have `<input readonly>` elements in your form styled as plain tex
170156
{% endcapture %}
171157
{% include example.html content=example %}
172158

159+
## Range Inputs
160+
161+
Set horizontally scrollable range inputs using `.form-control-range`.
162+
163+
{% capture example %}
164+
<form>
165+
<div class="form-group">
166+
<label for="formControlRange">Example Range input</label>
167+
<input type="range" class="form-control-range" id="formControlRange">
168+
</div>
169+
</form>
170+
{% endcapture %}
171+
{% include example.html content=example %}
172+
173173
## Checkboxes and radios
174174

175175
Default checkboxes and radios are improved upon with the help of `.form-check`, **a single class for both input types that improves the layout and behavior of their HTML elements**. Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many.

0 commit comments

Comments
 (0)