Wavy Underline Thickness Control
A native CSS wavy underline treatment that tunes text-decoration-thickness and underline offset without adding a separate decorative SVG layer.
A native CSS wavy underline treatment that tunes text-decoration-thickness and underline offset without adding a separate decorative SVG layer.
Wavy underline · text-decoration breathing
Native wavy underline styling changes visual weight with text-decoration-thickness and underline-offset rather than drawing a separate SVG underline. Three variants demonstrate a thin inline link, a broader editorial mark, and a compact dense callout.
Thin wave · body copy
A thin squiggle keeps inline text readable while still signaling emphasis. Em-based thickness so the underline scales with font size + browser zoom.
Broader wave · headline
A thicker underline carries a headline highlight without inserting a positioned decoration layer. Offset grows with thickness so descenders have breathing room.
Compact copy · fixed offset
A compact callout uses a stable offset and only modest thickness changes. Safer in dense UI where a large animated squiggle would crowd nearby text.