CSS text-decoration-inset Property Reference

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

CSS text-decoration-inset Property Reference

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

Updated 2026-08-12

text-decoration-inset overview

The CSS text-decoration-inset 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-inset formal syntax
FieldValue
Formal syntax<length>{1,2} | auto
Initial value0
Applies toallElements
InheritedNo
Percentagesno
Computed valueabsoluteLengthOrKeyword
Animation typebyComputedValue
Mediavisual
Specification groupCSS Text Decoration
StatusStandard

Practical examples

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

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

Description

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

References

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

Similar or alternative tools

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