text-underline-position
Widely available since 2023-01-28
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
- Chrome 33 Released on 2014-02-20
- Chrome Android 33 Released on 2014-02-26
- Edge 12 Released on 2015-07-29
- Firefox 74 Released on 2020-03-10
- Firefox for Android 79 Released on 2020-07-28
- Safari 12.1 Released on 2019-03-25
- Safari on iOS 12.2 Released on 2019-03-25
Specifications
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature