Skip to content

text-decoration-style

Utilities for controlling the style of text decorations.

Class Effect
decoration-solid text-decoration-style: solid;
decoration-double text-decoration-style: double;
decoration-dotted text-decoration-style: dotted;
decoration-dashed text-decoration-style: dashed;
decoration-wavy text-decoration-style: wavy;
text-decoration-style: Basic exampletext-decoration-style: Basic example
if ui.div("flex flex-col gap-5") {
for c in ([]string{"decoration-solid", "decoration-double", "decoration-dotted", "decoration-dashed", "decoration-wavy"}) {
ui.key(c)
specimen(c, ui.cx("text-lg font-medium underline decoration-sky-500 underline-offset-4", c))
}
}