0
0
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:
Eelke van den Bos 2021-06-07 15:44:36 -04:00 committed by GitHub
parent ca43fa8892
commit 7968a074a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">