mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 22:41:20 +02:00
Improve clarity of documentation for .card-body (#23691)
This commit is contained in:
@@ -33,14 +33,14 @@ Below is an example of a basic card with mixed content and a fixed width. Cards
|
|||||||
|
|
||||||
Cards support a wide variety of content, including images, text, list groups, links, and more. Below are examples of what's supported.
|
Cards support a wide variety of content, including images, text, list groups, links, and more. Below are examples of what's supported.
|
||||||
|
|
||||||
### Blocks
|
### Body
|
||||||
|
|
||||||
The building block of a card is the `.card-body`. Use it whenever you need a padded section within a card.
|
The building block of a card is the `.card-body`. Use it whenever you need a padded section within a card.
|
||||||
|
|
||||||
{% example html %}
|
{% example html %}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
This is some text within a card block.
|
This is some text within a card body.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
Reference in New Issue
Block a user