CSS text-decoration-thickness Property Reference

The CSS text-decoration-thickness property is a standard property in CSS Text Decoration. Review its formal syntax, computed behavior, and practical declarations.

CSS text-decoration-thickness Property Reference

The CSS text-decoration-thickness property is a standard property in CSS Text Decoration. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

text-decoration-thickness overview

The CSS text-decoration-thickness property is a standard property in CSS Text Decoration. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

text-decoration-thickness formal syntax
FieldValue
Formal syntaxauto | from-font | <length> | <percentage>
Initial valueauto
Applies toallElements
InheritedNo
PercentagesreferToElementFontSize
Computed valueasSpecified
Animation typebyComputedValueType
Mediavisual
Specification groupCSS Text Decoration
StatusStandard

Practical examples

These declarations demonstrate valid ways to set text-decoration-thickness. The initial and inherit global keywords remain available even when a property-specific value is preferable.

text-decoration-thickness live example
CSS .reset-example { text-decoration-thickness: initial; } .inherit-example { text-decoration-thickness: inherit; } @supports (text-decoration-thickness: initial) { .supported { text-decoration-thickness: initial; } }

Description

The CSS text-decoration-thickness property is a standard property in CSS Text Decoration. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: text-decoration-thickness
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies