CSS · Properties — CSS Text Decoration
text-underline-offset
The CSS text-underline-offset property. Initial value: auto. Inherited.
Syntax
text-underline-offset: auto | <length> | <percentage>Example
Try it
Notes
Media: visual. Applies to: allElements. Computed value: asSpecified.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.