property
text-decoration-thickness — CSS reference
Sets line decoration thickness. Initial auto, not inherited. From-font uses available metrics and percentages resolve against font size.
Formal Syntax & Structure
css syntaxcss
auto | from-font | <length-percentage>Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS text lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}#a{text-decoration-line:underline}#a{text-decoration-thickness:2px}</style><body><p id="a">Design readable interfaces with CSS.</p><p lang="fa" dir="rtl">متن فارسی برای آزمایش چیدمان</p></body></html>