aboutsummaryrefslogtreecommitdiff
path: root/docs/migration.md
diff options
context:
space:
mode:
authorAlexandr Kondrashov <[email protected]>2015-09-11 16:43:00 +0300
committerAlexandr Kondrashov <[email protected]>2015-09-11 16:43:00 +0300
commitc9725926b2f30bed4e37f57c20ef8ffeb2fd233b (patch)
tree2964ad7556549dd3e0712bdfdbc5fc4ae7a9b45f /docs/migration.md
parent353e0a49a97c24d89f6cdb95014419d4137dee6e (diff)
parentb811f8cf9628dbcbfe994f71588c5a0c921a092d (diff)
downloadbootstrap-c9725926b2f30bed4e37f57c20ef8ffeb2fd233b.tar.xz
bootstrap-c9725926b2f30bed4e37f57c20ef8ffeb2fd233b.zip
Merge remote-tracking branch 'twbs/v4-dev' into patch-1
Conflicts: scss/_custom-forms.scss scss/_variables.scss
Diffstat (limited to 'docs/migration.md')
-rw-r--r--docs/migration.md28
1 files changed, 27 insertions, 1 deletions
diff --git a/docs/migration.md b/docs/migration.md
index bd8ee7529..c2cc5d4f5 100644
--- a/docs/migration.md
+++ b/docs/migration.md
@@ -54,6 +54,10 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with
- `.dl-horizontal` now requires grid classes, increasing flexbility in column widths.
- Custom `<blockquote>` styling has moved to classes—`.blockquote` and the `.blockquote-reverse` modifier.
+### Images
+
+- Renamed `.img-responsive` to `.img-fluid`.
+
### Tables
- Nearly all instances of the `>` selector have been removed, meaning nested tables will now automatically inherit styles from their parents. This greatly simplifies our selectors and potential customizations.
@@ -77,6 +81,14 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with
- Added a new `~480px` grid breakpoint, meaning there are now five total tiers.
+### Buttons
+
+- Dropped the `.btn-xs` class entirely.
+
+### Button group
+
+- Dropped the `.btn-group-xs` class entirely.
+
### Navs
- Dropped nearly all `>` selectors for simpler styling via un-nested classes.
@@ -90,6 +102,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`.
@@ -129,7 +155,7 @@ The following components have been removed in v4.0.0.
| Wells | | Cards |
| Justified navs | | |
-TODO: audit classes in v4 that aren't present in v4
+TODO: audit classes in v3 that aren't present in v4
### Responsive utilities