CSS path-length Property Reference

The CSS path-length property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

CSS path-length Property Reference

The CSS path-length property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

path-length overview

The CSS path-length property is a standard property in Scalable Vector Graphics. 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

path-length formal syntax
FieldValue
Formal syntaxnone | <length> [0,∞]
Initial valuenone
Applies topathCircleEllipseLinePolygonPolylineRect
InheritedNo
Percentagesno
Computed valuenoneOrAbsoluteLength
Animation typebyComputedValue
Mediavisual
Specification groupScalable Vector Graphics
StatusStandard

Practical examples

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

path-length live example
CSS .reset-example { path-length: initial; } .inherit-example { path-length: inherit; } @supports (path-length: initial) { .supported { path-length: initial; } }

Description

The CSS path-length property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: path-length
  2. MDN: CSS Properties Reference

Similar or alternative tools

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