mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #17187 from kkirsche/patch-31
v4 - Document migration from panels to cards
This commit is contained in:
commit
80435ee656
1 changed files with 14 additions and 0 deletions
|
@ -98,6 +98,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`.
|
||||
|
|
Loading…
Reference in a new issue