aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-06-30 15:26:40 -0700
committerMark Otto <[email protected]>2017-06-30 15:26:40 -0700
commit77639905cb717b34e9b2f255b96e49c50adfecb8 (patch)
tree583a5bc23c270af031dcfa9225a435d6c6679e7e /docs
parent221f41adaf2c85e786941281e65b76c1ad04281e (diff)
downloadbootstrap-77639905cb717b34e9b2f255b96e49c50adfecb8.tar.xz
bootstrap-77639905cb717b34e9b2f255b96e49c50adfecb8.zip
remove a few .card-dark refs
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/card.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/4.0/components/card.md b/docs/4.0/components/card.md
index e47eb42f6..799d0bcbc 100644
--- a/docs/4.0/components/card.md
+++ b/docs/4.0/components/card.md
@@ -349,10 +349,10 @@ Similar to headers and footers, cards can include top and bottom "image caps"—
### Image overlays
-Turn an image into a card background and overlay your card's text. Depending on the image, you may or may not need `.card-dark` (see below).
+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 card-dark">
+<div class="card 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>
@@ -591,7 +591,7 @@ Cards can be organized into [Masonry](http://masonry.desandro.com)-like columns
<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
</div>
</div>
- <div class="card card-dark card-primary p-3 text-center">
+ <div class="card bg-primary p-3 text-center">
<blockquote class="blockquote mb-0">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat.</p>
<footer class="blockquote-footer">