]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Document migration from panels to cards 17187/head
authorKevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
Fri, 21 Aug 2015 02:31:48 +0000 (22:31 -0400)
committerKevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
Fri, 21 Aug 2015 02:31:48 +0000 (22:31 -0400)
X-Ref: #17120 for `.panel-default` replacement

docs/migration.md

index 78eca6032bf56b266621a53f801958152465c9f0..9206c803437d965376297cbcc9885c42b0ae0cbf 100644 (file)
@@ -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`.