CSS line-height-step Property Reference

The CSS line-height-step property is a experimental property in CSS Rhythmic Sizing. Review its formal syntax, computed behavior, and practical declarations.

CSS line-height-step Property Reference

The CSS line-height-step property is a experimental property in CSS Rhythmic Sizing. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

line-height-step overview

The CSS line-height-step property is a experimental property in CSS Rhythmic Sizing. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

line-height-step formal syntax
FieldValue
Formal syntax<length>
Initial value0
Applies toblockContainers
InheritedYes
Percentagesno
Computed valueabsoluteLength
Animation typebyComputedValueType
Mediavisual
Specification groupCSS Rhythmic Sizing
StatusExperimental

Practical examples

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

line-height-step live example
CSS .reset-example { line-height-step: initial; } .inherit-example { line-height-step: inherit; } @supports (line-height-step: initial) { .supported { line-height-step: initial; } }

Description

The CSS line-height-step property is a experimental property in CSS Rhythmic Sizing. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: line-height-step
  2. MDN: CSS Properties Reference

Similar or alternative tools

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