mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-07 04:54:24 +01:00
docs: add missing .dropup
in dropup centered example (#35948)
This commit is contained in:
parent
d21a51a2ea
commit
5bdd5e02a4
@ -481,7 +481,7 @@ Trigger dropdown menus above elements by adding `.dropup` to the parent element.
|
|||||||
Make the dropup menu centered above the toggle with `.dropup-center` on the parent element.
|
Make the dropup menu centered above the toggle with `.dropup-center` on the parent element.
|
||||||
|
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
<div class="dropup-center">
|
<div class="dropup-center dropup">
|
||||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropupCenterBtn" data-bs-toggle="dropdown" aria-expanded="false">
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropupCenterBtn" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
Centered dropup
|
Centered dropup
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user