diff options
| author | XhmikosR <[email protected]> | 2021-03-11 08:42:53 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-11 08:42:53 +0200 |
| commit | 0844bb2385e1c65ab5aa902d0af86cae052fd912 (patch) | |
| tree | 1bb45e9cb45a297e8f61e85891443a099f512360 /site/content/docs/5.0/forms | |
| parent | 9cbcbd1c4cdc21f0337f39c23b6b318fae70cf3f (diff) | |
| parent | 6b3254536bac263c39e3a536c3c13945210d91b2 (diff) | |
| download | bootstrap-nav-underline.tar.xz bootstrap-nav-underline.zip | |
Merge branch 'main' into nav-underlinenav-underline
Diffstat (limited to 'site/content/docs/5.0/forms')
| -rw-r--r-- | site/content/docs/5.0/forms/layout.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.0/forms/layout.md b/site/content/docs/5.0/forms/layout.md index f0fc0b582..47e2f8ab7 100644 --- a/site/content/docs/5.0/forms/layout.md +++ b/site/content/docs/5.0/forms/layout.md @@ -292,7 +292,7 @@ You can then remix that once again with size-specific column classes. ## Inline forms -Use the `.col-auto` class to create horizontal layouts. By adding [gutter modifier classes]({{< docsref "/layout/gutters" >}}), we'll have gutters in horizontal and vertical directions. The `.align-items-center` aligns the form elements to the middle, making the `.form-checkbox` align properly. +Use the `.row-cols-*` classes to create responsive horizontal layouts. By adding [gutter modifier classes]({{< docsref "/layout/gutters" >}}), we'll have gutters in horizontal and vertical directions. On narrow mobile viewports, the `.col-12` helps stack the form controls and more. The `.align-items-center` aligns the form elements to the middle, making the `.form-checkbox` align properly. {{< example >}} <form class="row row-cols-lg-auto g-3 align-items-center"> |
