Web platform features explorer

text-underline-position

Widely available since 2023-01-28
Tags: css Groups: CSS > Text

The text-underline-position CSS property sets the position of underlines on text. For example, text-underline-position: under places the underline below the text, avoiding crossing descenders. The underline may be further adjusted by the text-underline-offset property.

Learning resources on MDN

Browser support