diff --git a/docs/components/forms.md b/docs/components/forms.md index 51d9e8f908..d71615976a 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -18,6 +18,8 @@ Bootstrap's form controls expand on [our Rebooted form styles]({{ site.baseurl } Be sure to use an appropriate `type` attribute on all inputs (e.g., `email` for email address or `number` for numerical information). +### Example + {% example html %}
@@ -89,6 +91,8 @@ Be sure to use an appropriate `type` attribute on all inputs (e.g., `email` for {% endexample %} +### Supported controls + Below is a complete list of the specific form controls supported by Bootstrap and the classes that customize them. Additional documentation is available for each group. @@ -167,88 +171,23 @@ Below is a complete list of the specific form controls supported by Bootstrap an ### Textual inputs -Here are examples of `.form-control` applied to each textual HTML5 `` `type`. +Here are examples of `.form-control` applied to each textual HTML5 `` `type` (meaning, almost everything except the file, checkbox, and radio inputs). -{% example html %} -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-{% endexample %} +| Type | Example | +| --- | --- | +| `text` | | +| `search` | | +| `email` | | +| `url` | | +| `tel` | | +| `password` | | +| `number` | | +| `datetime-local` | | +| `date` | | +| `month` | | +| `week` | | +| `time` | | +| `color` | | ## Form layouts