mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-02 12:30:23 +00:00
Fix docs typo of .form-checkbox -> .form-check
The class `.form-checkbox` is not used in Bootstrap and here it should say `.form-check` (as shown in the example below).
This commit is contained in:
parent
c22dd50e1b
commit
7432f2a922
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ You can then remix that once again with size-specific column classes.
|
|||
|
||||
## Inline forms
|
||||
|
||||
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.
|
||||
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-check` align properly.
|
||||
|
||||
{{< example >}}
|
||||
<form class="row row-cols-lg-auto g-3 align-items-center">
|
||||
|
|
|
|||
Loading…
Reference in a new issue