mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
docs: update dropdowns.md to reflect the correct version (#34180)
* Update dropdowns.md to reflect correct version * Clarify content, drop the reference to versions * Update dropdowns.md Co-authored-by: Mark Otto <otto@github.com>
This commit is contained in:
parent
ca43fa8892
commit
7968a074a5
@ -583,7 +583,7 @@ Trigger dropdown menus at the left of the elements by adding `.dropstart` to the
|
|||||||
|
|
||||||
## Menu items
|
## Menu items
|
||||||
|
|
||||||
Historically dropdown menu contents *had* to be links, but that's no longer the case with v4. Now you can optionally use `<button>` elements in your dropdowns instead of just `<a>`s.
|
You can use `<a>` or `<button>` elements as dropdown items.
|
||||||
|
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user