mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Carousel prev/next controls are renamed accordingly (#23561)
This commit is contained in:
parent
41bcab6900
commit
d5db28d183
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,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, `.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.
|
||||
- For prev/next controls, `.carousel-control.right` and `.carousel-control.left` are now `.carousel-control-next` and `.carousel-control-prev`, 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.
|
||||
|
|
Loading…
Reference in a new issue