CSS text-underline-offset Property
The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position.
Note: text-underline-offset is not part of the text-decoration shorthand. While an element can have multiple text-decoration lines, text-underline-offset only impacts underlining, and not other possible line decoration options such as overline or line-through.
The following table describes the values of this property:
|The browser chooses the appropriate offset for underlines.
|Specifies the offset of underlines as a length, overriding the font file suggestion and the browser default. It is recommended to use em units so the offset scales with the font size.
|Specifies the offset of underlines as a percentage.
|Sets this property to its default value.
|If specified, the associated element takes the computed value of its parent element animation-delay property.
|Reverts the cascaded value of the property from its current value to the value the property
|Rollback styles to the ones specified in previous cascade layers.
|Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.
Default CSS Property Values