Skip to content

text-decoration-line

Utilities for adding underline, overline, or line-through decorations to text.

ISS preview
Iced + ISS preview demonstrating text-decoration-line
ISS preview for text-decoration-line
use iced::widget::text;
use iss::{tw, TwExt};
let link = text("Read docs").tw(tw!("text-sm text-blue-400 hover:underline underline-offset-4"));
Tailwind Class CSS Property / Effect iss::typed Builder
underline text-decoration-line: underline; .underline()
overline text-decoration-line: overline; .overline()
line-through text-decoration-line: line-through; .line_through()
no-underline text-decoration-line: none; .no_underline()

text-decoration-color · text-decoration-style · text-decoration-thickness · text-underline-offset