0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01: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:
Matthew West 2022-07-31 18:00:21 -05:00 committed by Mark Otto
parent c22dd50e1b
commit 7432f2a922

View File

@ -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">