From: Mark Otto Date: Sun, 20 May 2018 22:10:31 +0000 (-0700) Subject: closes #26543, fixes #26542 X-Git-Tag: v4.1.2~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b36599cba795962c3278b45de230678a8a9827d5;p=thirdparty%2Fbootstrap.git closes #26543, fixes #26542 --- diff --git a/docs/4.1/components/forms.md b/docs/4.1/components/forms.md index 0eb34bae95..13890476c6 100644 --- a/docs/4.1/components/forms.md +++ b/docs/4.1/components/forms.md @@ -110,20 +110,6 @@ Set heights using classes like `.form-control-lg` and `.form-control-sm`. {% endcapture %} {% include example.html content=example %} -## Range Inputs - -Set horizontally scrollable range inputs using `.form-control-range`. - -{% capture example %} -
-
- - -
-
-{% endcapture %} -{% include example.html content=example %} - ### 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. @@ -170,6 +156,20 @@ If you want to have `` elements in your form styled as plain tex {% endcapture %} {% include example.html content=example %} +## Range Inputs + +Set horizontally scrollable range inputs using `.form-control-range`. + +{% capture example %} +
+
+ + +
+
+{% endcapture %} +{% include example.html content=example %} + ## Checkboxes and radios 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.