mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes some copy around inline forms
This commit is contained in:
parent
88cbe443b8
commit
844aab4295
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ You can then remix that once again with size-specific column classes.
|
||||||
|
|
||||||
## Inline forms
|
## 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 >}}
|
{{< example >}}
|
||||||
<form class="row row-cols-lg-auto g-3 align-items-center">
|
<form class="row row-cols-lg-auto g-3 align-items-center">
|
||||||
|
|
Loading…
Add table
Reference in a new issue