diff --git a/docs/4.0/components/card.md b/docs/4.0/components/card.md index 799d0bcbc9..28483fc137 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 %} -
+
Card image

Card title

diff --git a/scss/_card.scss b/scss/_card.scss index c3bda78cdc..1ab85a4ec2 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -9,6 +9,7 @@ min-width: 0; word-wrap: break-word; background-color: $card-bg; + background-clip: border-box; border: $card-border-width solid $card-border-color; @include border-radius($card-border-radius); }