diff options
Diffstat (limited to 'site/content/docs/5.2/components/card.md')
-rw-r--r-- | site/content/docs/5.2/components/card.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.2/components/card.md b/site/content/docs/5.2/components/card.md index 9e395cd5ec..78c7cd3f32 100644 --- a/site/content/docs/5.2/components/card.md +++ b/site/content/docs/5.2/components/card.md @@ -376,7 +376,7 @@ Similar to headers and footers, cards can include top and bottom "image caps"— Turn an image into a card background and overlay your card's text. Depending on the image, you may or may not need additional styles or utilities. {{< example >}} -<div class="card bg-dark text-white"> +<div class="card text-bg-dark"> {{< placeholder width="100%" height="270" class="bd-placeholder-img-lg card-img" text="Card image" >}} <div class="card-img-overlay"> <h5 class="card-title">Card title</h5> |