aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-01-05 17:07:22 -0800
committerChris Rebert <[email protected]>2016-01-05 17:07:22 -0800
commiteb26e69a854ac05e3dbaef29153d2ed552c4e5ac (patch)
tree63875695c27be589ac0d4736e93462ee5280edd5 /docs
parentdd64fa87f35cd071bcc8eba9332dfcd5850e0f7f (diff)
downloadbootstrap-eb26e69a854ac05e3dbaef29153d2ed552c4e5ac.tar.xz
bootstrap-eb26e69a854ac05e3dbaef29153d2ed552c4e5ac.zip
Add alternative migration possibility for panel color variants
Refs #18767 [ci skip]
Diffstat (limited to 'docs')
-rw-r--r--docs/migration.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/migration.md b/docs/migration.md
index 76e29a253..012b4472e 100644
--- a/docs/migration.md
+++ b/docs/migration.md
@@ -134,11 +134,11 @@ Dropped entirely for the new card component.
- `.panel-title` to `.card-header`. Depending on the desired look, you may also want to use [heading elements or classes]({{ site.baseurl }}/content/typography/#headings) (e.g. `<h3>`, `.h3`) or bold elements or classes (e.g. `<strong>`, `<b>`, [`.font-weight-bold`]({{ site.baseurl }}/components/utilities/#font-weight-and-italics)). Note that `.card-title`, while similarly named, produces a different look than `.panel-title`.
- `.panel-body` to `.card-block`
- `.panel-footer` to `.card-footer`
-- `.panel-primary` to `.card-primary` and `.card-inverse`
-- `.panel-success` to `.card-success` and `.card-inverse`
-- `.panel-info` to `.card-info` and `.card-inverse`
-- `.panel-warning` to `.card-warning` and `.card-inverse`
-- `.panel-danger` to `.card-danger` and `.card-inverse`
+- `.panel-primary` to `.card-primary` and `.card-inverse` (or use `.bg-primary` on `.card-header`)
+- `.panel-success` to `.card-success` and `.card-inverse` (or use `.bg-success` on `.card-header`)
+- `.panel-info` to `.card-info` and `.card-inverse` (or use `.bg-info` on `.card-header`)
+- `.panel-warning` to `.card-warning` and `.card-inverse` (or use `.bg-warning` on `.card-header`)
+- `.panel-danger` to `.card-danger` and `.card-inverse` (or use `.bg-danger` on `.card-header`)
### Carousel