diff options
| author | Mark Otto <[email protected]> | 2017-12-23 15:46:06 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-12-26 13:21:08 -0800 |
| commit | 878e5c591062c3116b1f6c4530af2bb59f82e467 (patch) | |
| tree | 48ec11f0a896478781cdf137899e8395480f7ac8 /docs | |
| parent | 4205b262d3e26d836e20be1506e3d9a4a9b04f9e (diff) | |
| download | bootstrap-878e5c591062c3116b1f6c4530af2bb59f82e467.tar.xz bootstrap-878e5c591062c3116b1f6c4530af2bb59f82e467.zip | |
Closes #25039
Adds some additional context on `.form-group` usage
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/4.0/components/forms.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md index 23350415a..c69bfe2ae 100644 --- a/docs/4.0/components/forms.md +++ b/docs/4.0/components/forms.md @@ -249,7 +249,7 @@ Since Bootstrap applies `display: block` and `width: 100%` to almost all our for ### Form groups -The `.form-group` class is the easiest way to add some structure to forms. Its only purpose is to provide `margin-bottom` around a label and control pairing. As a bonus, since it's a class you can use it with `<fieldset>`s, `<div>`s, or nearly any other element. +The `.form-group` class is the easiest way to add some structure to forms. It provides a flexible class that encourages proper grouping of labels, controls, optional help text, and form validation messaging. By default it only applies `margin-bottom`, but it picks up additional styles in `.form-inline` as needed. Use it with `<fieldset>`s, `<div>`s, or nearly any other element. {% example html %} <form> |
