aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-11-28 13:22:51 -0800
committerGitHub <[email protected]>2016-11-28 13:22:51 -0800
commit2f9a94caac58a68a12c17818da0d1e2c2402368e (patch)
tree107de0626a1b418a6e3886120847e67e4049dfad /docs/components
parenta6f54889fdf4140d4892cbf6cdb08573475f52a8 (diff)
downloadbootstrap-2f9a94caac58a68a12c17818da0d1e2c2402368e.tar.xz
bootstrap-2f9a94caac58a68a12c17818da0d1e2c2402368e.zip
Inverse card improvements (#21242)
* Add a color to .card-inverse to account for non .card- prefixed classes * reword the docs to better articulate what the class does
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/card.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components/card.md b/docs/components/card.md
index 8fd2276cb..7d350708c 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).