Skip to content

text-indent

Utilities for controlling the horizontal indentation of the first line of a paragraph.

ISS preview
Iced + ISS preview demonstrating text-indent
ISS preview for text-indent
use iced::widget::text;
use iss::{tw, TwExt};
let para = text(body).tw(tw!("indent-8 text-sm leading-relaxed text-zinc-300"));
Tailwind Class CSS Property / Effect iss::typed Builder
indent-<n> text-indent: calc(var(--spacing) * <n>); .indent(8)
-indent-<n> Negative hanging indentation; .indent(-4)
indent-[24px] text-indent: 24px; .indent_px(24)

line-height · text-align · padding