CSS · Properties — CSS Text Decoration

text-decoration-thickness

The CSS text-decoration-thickness property. Initial value: auto. Not inherited.

Syntax
text-decoration-thickness: auto | from-font | <length> | <percentage>

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

More in this group

text-decoration-color text-decoration-inset text-decoration-line text-decoration-skip text-decoration-skip-ink text-decoration-style text-emphasis text-emphasis-color

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course