aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/card.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/card.md b/docs/4.0/components/card.md
index 799d0bcbc..28483fc13 100644
--- a/docs/4.0/components/card.md
+++ b/docs/4.0/components/card.md
@@ -352,7 +352,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 html %}
-<div class="card text-white">
+<div class="card bg-dark text-white">
<img class="card-img" data-src="holder.js/100px270/#55595c:#373a3c/text:Card image" alt="Card image">
<div class="card-img-overlay">
<h4 class="card-title">Card title</h4>