0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-13 13:29:25 +01:00

Update layout.md

This commit is contained in:
Mark Otto 2020-07-11 11:40:08 -07:00
parent 6eaa36fb6f
commit 6acdfdbfa0

View File

@ -300,7 +300,7 @@ Use the `.col-auto` class to create horizontal layouts. By adding [gutter modifi
Be sure to always include a `<label>` with each form control, even if you need to visually hide it with `.visually-hidden` (which still keeps it available to assistive technologies such as screen readers).
{{< example >}}
<form class="row row-cols-md-auto g-3 align-items-center">
<form class="row row-cols-lg-auto g-3 align-items-center">
<div class="col-12">
<label class="visually-hidden" for="inlineFormInputGroupUsername">Username</label>
<div class="input-group">