mirror of https://github.com/twbs/bootstrap.git
Docs: use 'i.e.' instead of 'e.g.' in Floating Labels example description (#41364)
This commit is contained in:
parent
c147a5d7d6
commit
0b5309bd30
|
@ -8,7 +8,7 @@ toc: true
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
Wrap a pair of `<input class="form-control">` and `<label>` elements in `.form-floating` to enable floating labels with Bootstrap's textual form fields. A `placeholder` is required on each `<input>` as our method of CSS-only floating labels uses the `:placeholder-shown` pseudo-element. Also note that the `<input>` must come first so we can utilize a sibling selector (e.g., `~`).
|
Wrap a pair of `<input class="form-control">` and `<label>` elements in `.form-floating` to enable floating labels with Bootstrap's textual form fields. A `placeholder` is required on each `<input>` as our method of CSS-only floating labels uses the `:placeholder-shown` pseudo-element. Also note that the `<input>` must come first so we can utilize a sibling selector (i.e., `~`).
|
||||||
|
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
<div class="form-floating mb-3">
|
<div class="form-floating mb-3">
|
||||||
|
|
Loading…
Reference in New Issue