mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-26 15:04:43 +00:00
Fix typo in placeholder docs (#34752)
This commit is contained in:
parent
18b3e1ac71
commit
b10c1a76c7
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ In the example below, we take a typical card component and recreate it with plac
|
|||
|
||||
## How it works
|
||||
|
||||
Create placeholders with the `.placeholder` class and a grid column class (e.g., `.col-6`) to set the `width`. They can replace the text inside an element or as be added as a modifier class to an existing component.
|
||||
Create placeholders with the `.placeholder` class and a grid column class (e.g., `.col-6`) to set the `width`. They can replace the text inside an element or be added as a modifier class to an existing component.
|
||||
|
||||
We apply additional styling to `.btn`s via `::before` to ensure the `height` is respected. You may extend this pattern for other situations as needed, or add a ` ` within the element to reflect the height when actual text is rendered in its place.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue