z-index
Utilities for controlling the vertical stacking order of positioned layers.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let popover = container(menu).tw(tw!("absolute top-10 right-0 z-40 bg-zinc-900 rounded-xl shadow-xl"));use iss::typed::*;
let style = IssStyle::new().absolute().z_40().rounded_xl().shadow_xl();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
z-0 .. z-50 |
z-index: 0 .. 50; |
.z_0() .. .z_50() |
-z-10 |
z-index: -10; |
.z(-10) |
z-auto |
z-index: auto; |
.z_auto() |
z-[100] |
z-index: 100; |
.z(100) |
Behavior Notes
Section titled “Behavior Notes”stack_twsorts overlapping children byz-indexwith stable document-order tie-breaking; wrap inisolatewhen using negative-z-*layers.