diff --git a/docs/components/card.md b/docs/components/card.md index 8fd2276cb78a..7d350708c900 100644 --- a/docs/components/card.md +++ b/docs/components/card.md @@ -314,7 +314,7 @@ Turn an image into a card background and overlay your card's text. Depending on ## Inverted text -Cards include a class for quickly toggling **the text color**. By default, cards use dark text and assume a light background. **Add `.card-inverse` for white text** and specify the `background-color` and `border-color` to go with it. +By default, cards use dark text and assume a light background. You can reverse that by toggling the `color` of text within, as well as that of the card's subcomponents, with `.card-inverse`. Then, specify a dark `background-color` and `border-color` to go with it. You can also use `.card-inverse` with the [contextual backgrounds variants](#background-variants). diff --git a/scss/mixins/_cards.scss b/scss/mixins/_cards.scss index 2c852c4267a8..4b1232d8b200 100644 --- a/scss/mixins/_cards.scss +++ b/scss/mixins/_cards.scss @@ -20,6 +20,8 @@ // @mixin card-inverse { + color: rgba(255,255,255,.65); + .card-header, .card-footer { background-color: transparent;