Skip to content

text-decoration-style

Utilities for controlling whether text decorations draw as solid, double, dotted, dashed, or wavy lines.

ISS preview
Iced + ISS preview demonstrating text-decoration-style
ISS preview for text-decoration-style
use iced::widget::text;
use iss::{tw, TwExt};
let typo = text("bg-banana-500").tw(tw!("underline decoration-wavy decoration-rose-500"));
Tailwind Class CSS Property / Effect iss::typed Builder
decoration-solid text-decoration-style: solid; .decoration_solid()
decoration-double text-decoration-style: double; .decoration_double()
decoration-dotted text-decoration-style: dotted; .decoration_dotted()
decoration-dashed text-decoration-style: dashed; .decoration_dashed()
decoration-wavy text-decoration-style: wavy; .decoration_wavy()

text-decoration-line · text-decoration-color · text-decoration-thickness