{"id":198664,"date":"2015-04-03T09:37:29","date_gmt":"2015-04-03T16:37:29","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=198664"},"modified":"2021-08-02T11:17:53","modified_gmt":"2021-08-02T18:17:53","slug":"text-underline-position","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/t\/text-underline-position\/","title":{"rendered":"text-underline-position"},"content":{"rendered":"\n

The text-underline-position<\/code> property sets the placement of the underline on links or on text with text-decoration<\/a>: underline;<\/code> applied.<\/p>\n\n\n\n

.element {\n  text-underline-position: under;\n}<\/code><\/pre>\n\n\n

Values<\/h3>\n\n\n

These are the values specified in the W3C CSS Text Decoration Module Level 3 Candidate Recommendation:<\/p>\n\n\n\n