mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
update migration docs
This commit is contained in:
parent
e331db31fd
commit
6d9ded8375
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user