block-size
Logical sizing utilities for controlling the block-axis dimension of an element.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let banner = container(title).tw(tw!("inline-full block-24 bg-zinc-900 rounded-xl"));use iss::typed::*;
let style = IssStyle::new().inline_full().block_u(24).bg(palette::ZINC_900);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
block-<n> |
block-size: calc(var(--spacing) * <n>); |
.block_u(16) |
block-1/2 / block-full |
block-size: 50% / 100%; |
.block_frac(1, 2) / .block_full() |
block-auto / block-fit / block-screen |
block-size: auto / fit-content / 100vh; |
.block_auto() / .block_fit() |
block-[120px] |
block-size: 120px; |
.block_px(120) |