aboutsummaryrefslogtreecommitdiff
path: root/docs/migration.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-12-05 23:31:14 -0800
committerGitHub <[email protected]>2016-12-05 23:31:14 -0800
commitede925d79bf92d5983a4508c6ed6fda9310e1e8b (patch)
tree2106dc9b4f97d109f91c06a31234802c8d1890b6 /docs/migration.md
parent306f75216d2b66bfe8e6e4b587939491e637b8da (diff)
parente0edea0d1a69d51990cb8d8de41183e94331b3a2 (diff)
downloadbootstrap-ede925d79bf92d5983a4508c6ed6fda9310e1e8b.tar.xz
bootstrap-ede925d79bf92d5983a4508c6ed6fda9310e1e8b.zip
Merge pull request #21298 from twbs/carousel
Refactor carousel
Diffstat (limited to 'docs/migration.md')
-rw-r--r--docs/migration.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/migration.md b/docs/migration.md
index 9b6e006c7..b6704a669 100644
--- a/docs/migration.md
+++ b/docs/migration.md
@@ -183,7 +183,14 @@ Dropped entirely for the new card component.
### Carousel
-- Renamed `.item` to `.carousel-item`.
+- Overhauled the entire component to simplify design and styling. We have fewer styles for you to override, new indicators, and new icons.
+- All CSS has been un-nested and renamed, ensuring each class is prefixed with `.carousel-`.
+ - For carousel items, `.next`, `.prev`, `.left`, and `.right` are now `.carousel-item-next`, `.carousel-item-prev`, `.carousel-item-left`, and `.carousel-item-right`.
+ - `.item` is also now `.carousel-item`.
+ - For prev/next controls, `.carousel-control.right` and `.carousel-control.left` are now `.carousel-control-right` and `.carousel-control-left`, meaning they no longer require a specific base class.
+- Removed all responsive styling, deferring to utilities (e.g., showing captions on certain viewports) and custom styles as needed.
+- Removed image overrides for images in carousel items, deferring to utilities.
+- Tweaked the Carousel example to include the new markup and styles.
### Utilities