mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Docs: fix text rendering of navbar external content
This commit is contained in:
parent
8986c5e0a5
commit
e8311211f3
@ -655,9 +655,9 @@ With a toggler on the left and brand name on the right:
|
|||||||
Sometimes you want to use the collapse plugin to trigger a container element for content that structurally sits outside of the `.navbar` . Because our plugin works on the `id` and `data-bs-target` matching, that's easily done!
|
Sometimes you want to use the collapse plugin to trigger a container element for content that structurally sits outside of the `.navbar` . Because our plugin works on the `id` and `data-bs-target` matching, that's easily done!
|
||||||
|
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
<div class="collapse" id="navbarToggleExternalContent">
|
<div class="collapse" id="navbarToggleExternalContent" data-bs-theme="dark">
|
||||||
<div class="bg-dark p-4">
|
<div class="bg-dark p-4">
|
||||||
<h5 class="text-white h4">Collapsed content</h5>
|
<h5 class="text-body-emphasis h4">Collapsed content</h5>
|
||||||
<span class="text-body-secondary">Toggleable via the navbar brand.</span>
|
<span class="text-body-secondary">Toggleable via the navbar brand.</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user