CSS offset-distance Property Reference

The CSS offset-distance property is a standard property in Motion Path. Review its formal syntax, computed behavior, and practical declarations.

CSS offset-distance Property Reference

The CSS offset-distance property is a standard property in Motion Path. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

offset-distance overview

The CSS offset-distance property is a standard property in Motion Path. 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

offset-distance formal syntax
FieldValue
Formal syntax<length-percentage>
Initial value0
Applies totransformableElements
InheritedNo
PercentagesreferToTotalPathLength
Computed valueforLengthAbsoluteValueOtherwisePercentage
Animation typelpc
Mediavisual
Specification groupMotion Path
StatusStandard

Practical examples

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

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

Description

The CSS offset-distance property is a standard property in Motion Path. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: offset-distance
  2. MDN: CSS Properties Reference

Similar or alternative tools

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