CSS text-underline-position Property
The text-underline-position CSS property specifies the position of the underline which is set using the text-decoration property's underline value.
The following table describes the values of this property:
|The user agent uses its own algorithm to place the line at or under the alphabetic baseline.
|If the font file includes information about a preferred position, use that value. If the font file doesn't include this information, behave as if auto was set, with the browser choosing an appropriate position.
|Forces the line to be set below the alphabetic baseline, at a position where it won't cross any descenders. This is useful for ensuring legibility with chemical and mathematical formulas, which make a large use of subscripts.
|In vertical writing-modes, this keyword forces the line to be placed on the left side of the text. In horizontal writing-modes, it is a synonym of under.
|In vertical writing-modes, this keyword forces the line to be placed on the right side of the text. In horizontal writing-modes, it is a synonym of under.
|Non-standard. Forces the line to be above the text. When used with East-Asian text, using the auto keyword will lead to a similar effect.
|Non-standard. Forces the line to be below the text. When used with alphabetic text, using the auto keyword will lead to a similar effect.
|Non-standard. Experimental. A synonym of auto, which should be used instead.
|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