mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Fixes #18768: Add migration docs for dropdowns
This commit is contained in:
parent
91257d29d3
commit
4d8d8bdab4
@ -104,6 +104,14 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with
|
|||||||
|
|
||||||
- Dropped the `.btn-group-xs` class entirely given removal of `.btn-xs`.
|
- Dropped the `.btn-group-xs` class entirely given removal of `.btn-xs`.
|
||||||
|
|
||||||
|
### Dropdowns
|
||||||
|
|
||||||
|
- Switched from parent selectors to singular classes for all components, modifiers, etc.
|
||||||
|
- Dropdowns can be built with `<div>`s or `<ul>`s now.
|
||||||
|
- Rebuilt dropdown styles and markup to provide easy, built-in support for `<a>` and `<button>` based dropdown items.
|
||||||
|
- Dropdown items now require `.dropdown-item`.
|
||||||
|
- Dropdown toggles no longer require an explicit `<span class="caret"></span>`; this is now provided automatically via CSS's `::after` on `.dropdown-toggle`.
|
||||||
|
|
||||||
### Grid system
|
### Grid system
|
||||||
|
|
||||||
- Added a new `~480px` grid breakpoint, meaning there are now five total tiers.
|
- Added a new `~480px` grid breakpoint, meaning there are now five total tiers.
|
||||||
|
Loading…
Reference in New Issue
Block a user