mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-21 18:11:51 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -583,7 +583,7 @@ Trigger dropdown menus at the left of the elements by adding `.dropstart` to the
|
|||
|
||||
## 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 >}}
|
||||
<div class="dropdown">
|
||||
|
|
|
|||
Loading…
Reference in a new issue