aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-05-08 15:07:16 -0700
committerMark Otto <[email protected]>2016-05-08 15:07:16 -0700
commit4d8d8bdab4b0e2931fcf92ce30d772b05a989434 (patch)
treef61af00cc19bfe5de100760a54a77297589ccd59
parent91257d29d3fb9f060f35f4790a44584f89917109 (diff)
downloadbootstrap-4d8d8bdab4b0e2931fcf92ce30d772b05a989434.tar.xz
bootstrap-4d8d8bdab4b0e2931fcf92ce30d772b05a989434.zip
Fixes #18768: Add migration docs for dropdowns
-rw-r--r--docs/migration.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/migration.md b/docs/migration.md
index 0ef91b4be..88987d81d 100644
--- a/docs/migration.md
+++ b/docs/migration.md
@@ -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`.
+### 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
- Added a new `~480px` grid breakpoint, meaning there are now five total tiers.