aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Kirsche <[email protected]>2015-08-20 22:31:48 -0400
committerKevin Kirsche <[email protected]>2015-08-20 22:31:48 -0400
commitbcc16d0754ccd274f72c60d51a19da0ed5916800 (patch)
tree8df65e6c975cb0a80bb94f516a788bec7887ab16
parent85fac53cc8a531eaf33695e9dafa4a0132be46a5 (diff)
downloadbootstrap-bcc16d0754ccd274f72c60d51a19da0ed5916800.tar.xz
bootstrap-bcc16d0754ccd274f72c60d51a19da0ed5916800.zip
Document migration from panels to cards
X-Ref: #17120 for `.panel-default` replacement
-rw-r--r--docs/migration.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/migration.md b/docs/migration.md
index 78eca6032..9206c8034 100644
--- a/docs/migration.md
+++ b/docs/migration.md
@@ -88,6 +88,20 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with
Dropped entirely for the new card component.
+#### Panels
+
+- `.panel` to `.card`
+- `.panel-default` removed and no replacement
+- `.panel-heading` to `.card-header`
+- `.panel-title` to `.card-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`
+
### Carousel
- Renamed `.item` to `.carousel-item`.