From: Kevin Kirsche Date: Fri, 21 Aug 2015 02:31:48 +0000 (-0400) Subject: Document migration from panels to cards X-Git-Tag: v4.0.0-alpha.2~426^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc16d0754ccd274f72c60d51a19da0ed5916800;p=thirdparty%2Fbootstrap.git Document migration from panels to cards X-Ref: #17120 for `.panel-default` replacement --- 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`.