Expand description
Utilities for controlling the thickness of text decorations.
Class | Properties |
---|---|
underline-offset-auto | text-underline-offset: auto; |
underline-offset-<integer> | text-underline-offset: <integer>px; |
§Tailwind compatibility
Offset values don’t follow Tailwind’s philosophy of limiting possible values and all numbers are supported. They are however perfectly compatible with Tailwind’s values.
§Arbitrary values
Any <length>
or <percentage>
property is allowed as arbitrary value.
For example, underline-offset-[11%]
.