Skip to content

Commit

Permalink
Docs: enhance .card-img-* description (twbs#39458)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored and romankupchak93 committed Jan 5, 2024
1 parent 35f28fb commit 4a8d09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.3/components/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Subtitles are used by adding a `.card-subtitle` to a `<h*>` tag. If the `.card-t

### Images

`.card-img-top` places an image to the top of the card. With `.card-text`, text can be added to the card. Text within `.card-text` can also be styled with the standard HTML tags.
`.card-img-top` and `.card-img-bottom` respectively set the top and bottom corners rounded to match the card's borders. With `.card-text`, text can be added to the card. Text within `.card-text` can also be styled with the standard HTML tags.

{{< example >}}
<div class="card" style="width: 18rem;">
Expand Down

0 comments on commit 4a8d09f

Please sign in to comment.