diff options
| author | Mark Otto <[email protected]> | 2016-12-04 23:19:54 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-12-04 23:19:54 -0800 |
| commit | 4ef547f4bb3d48a2ee17ccdb9c913e1f4f9c7fe3 (patch) | |
| tree | 0df727dc549576899cc7d3bd6a1bc049efea0a8a /docs/migration.md | |
| parent | 6d9ded83759b4fe34aa7e1c4d4f9425458e52e45 (diff) | |
| download | bootstrap-4ef547f4bb3d48a2ee17ccdb9c913e1f4f9c7fe3.tar.xz bootstrap-4ef547f4bb3d48a2ee17ccdb9c913e1f4f9c7fe3.zip | |
drop the .carousel-control base class
Diffstat (limited to 'docs/migration.md')
| -rw-r--r-- | docs/migration.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/migration.md b/docs/migration.md index 212de6dfe..c1b6435ca 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -187,7 +187,7 @@ Dropped entirely for the new card component. - 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`. + - For prev/next controls, `.carousel-control.right` and `.carousel-control.left` are now `.carousel-control-left` 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. |
