Skip to content

text-underline-offset

Utilities for controlling the offset of a text underline.

Class Effect
underline-offset-<number> text-underline-offset: <number>px;
-underline-offset-<number> text-underline-offset: calc(<number>px * -1);
underline-offset-auto text-underline-offset: auto;
underline-offset-[<value>] text-underline-offset: <value>;
text-underline-offset: Basic exampletext-underline-offset: Basic example
if ui.div("flex flex-col gap-5") {
for c in ([]string{"underline-offset-1", "underline-offset-2", "underline-offset-4", "underline-offset-8"}) {
ui.key(c)
specimen(c, ui.cx("text-lg font-medium underline", c))
}
}