mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 13:38:26 +01:00
Manually disable the offcanvas behaviors in our first example (#33444)
This commit is contained in:
parent
e2460ba2f8
commit
6c2ff8d371
File diff suppressed because one or more lines are too long
@ -447,7 +447,7 @@ The animation effect of this component is dependent on the <code>prefers-reduced
|
|||||||
<h3 id="offcanvas-components">Offcanvas components</h3>
|
<h3 id="offcanvas-components">Offcanvas components</h3>
|
||||||
<p>Below is an offcanvas example that is shown by default (via <code>.show</code> on <code>.offcanvas</code>). Offcanvas includes support for a header with a close button and an optional body class for some initial <code>padding</code>. We suggest that you include offcanvas headers with dismiss actions whenever possible, or provide an explicit dismiss action.</p>
|
<p>Below is an offcanvas example that is shown by default (via <code>.show</code> on <code>.offcanvas</code>). Offcanvas includes support for a header with a close button and an optional body class for some initial <code>padding</code>. We suggest that you include offcanvas headers with dismiss actions whenever possible, or provide an explicit dismiss action.</p>
|
||||||
<div class="bd-example bd-example-offcanvas p-0 bg-light overflow-hidden">
|
<div class="bd-example bd-example-offcanvas p-0 bg-light overflow-hidden">
|
||||||
<div class="offcanvas offcanvas-start show" tabindex="-1" id="offcanvas" aria-labelledby="offcanvasLabel" data-bs-backdrop="false" data-bs-scroll="true">
|
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvas" aria-labelledby="offcanvasLabel">
|
||||||
<div class="offcanvas-header">
|
<div class="offcanvas-header">
|
||||||
<h5 class="offcanvas-title" id="offcanvasLabel">Offcanvas</h5>
|
<h5 class="offcanvas-title" id="offcanvasLabel">Offcanvas</h5>
|
||||||
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
|
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user