From: Mark Otto Date: Mon, 5 Dec 2016 07:17:30 +0000 (-0800) Subject: update migration docs X-Git-Tag: v4.0.0-alpha.6~334^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d9ded83759b4fe34aa7e1c4d4f9425458e52e45;p=thirdparty%2Fbootstrap.git update migration docs --- diff --git a/docs/migration.md b/docs/migration.md index 9b6e006c72..212de6dfe5 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, `.right` and `.left` modifiers are now `.carousel-control-left` and `.carousel-control-left`. +- 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