0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Update z-index.md

changes the example. so that the effect can be seen.
This commit is contained in:
jonnysp 2022-10-28 09:18:43 +02:00 committed by Mark Otto
parent 06bed9b45a
commit 8fd4c3e12f

View File

@ -17,11 +17,11 @@ We call these "low-level" `z-index` utilities because of their default values of
{{< /callout >}}
{{< example class="bd-example-zindex-levels position-relative" >}}
<div class="z-n1 position-absolute p-5 rounded-3"></div>
<div class="z-0 position-absolute p-5 rounded-3"></div>
<div class="z-1 position-absolute p-5 rounded-3"></div>
<div class="z-2 position-absolute p-5 rounded-3"></div>
<div class="z-3 position-absolute p-5 rounded-3"></div>
<div class="z-2 position-absolute p-5 rounded-3"></div>
<div class="z-1 position-absolute p-5 rounded-3"></div>
<div class="z-0 position-absolute p-5 rounded-3"></div>
<div class="z-n1 position-absolute p-5 rounded-3"></div>
{{< /example >}}
## Overlays