From bcc16d0754ccd274f72c60d51a19da0ed5916800 Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Thu, 20 Aug 2015 22:31:48 -0400 Subject: [PATCH] Document migration from panels to cards X-Ref: #17120 for `.panel-default` replacement --- docs/migration.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/migration.md b/docs/migration.md index 78eca6032b..9206c80343 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`.