1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 08:34:08 +02:00

Docs: use 'i.e.' instead of 'e.g.' in Floating Labels example description (#41364)

This commit is contained in:
Julien Déramond
2025-04-10 18:23:18 +02:00
committed by GitHub
parent c147a5d7d6
commit 0b5309bd30

View File

@@ -8,7 +8,7 @@ toc: true
## 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 >}}
<div class="form-floating mb-3">