mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Fix typo in migration docs: card-title is replacing panel-title (#21331)
This commit is contained in:
parent
f3282b5656
commit
69a09520d8
@ -168,7 +168,7 @@ Dropped entirely for the new card component.
|
||||
- `.panel-default` removed and no replacement
|
||||
- `.panel-group` removed and no replacement. `.card-group` is not a replacement, it is different.
|
||||
- `.panel-heading` to `.card-header`
|
||||
- `.panel-title` to `.card-header`. Depending on the desired look, you may also want to use [heading elements or classes]({{ site.baseurl }}/content/typography/#headings) (e.g. `<h3>`, `.h3`) or bold elements or classes (e.g. `<strong>`, `<b>`, [`.font-weight-bold`]({{ site.baseurl }}/utilities/typography/#font-weight-and-italics)). Note that `.card-title`, while similarly named, produces a different look than `.panel-title`.
|
||||
- `.panel-title` to `.card-title`. Depending on the desired look, you may also want to use [heading elements or classes]({{ site.baseurl }}/content/typography/#headings) (e.g. `<h3>`, `.h3`) or bold elements or classes (e.g. `<strong>`, `<b>`, [`.font-weight-bold`]({{ site.baseurl }}/utilities/typography/#font-weight-and-italics)). Note that `.card-title`, while similarly named, produces a different look than `.panel-title`.
|
||||
- `.panel-body` to `.card-block`
|
||||
- `.panel-footer` to `.card-footer`
|
||||
- `.panel-primary` to `.card-primary` and `.card-inverse` (or use `.bg-primary` on `.card-header`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user