CSS · Properties — Motion Path

offset-distance

The CSS offset-distance property. Initial value: 0. Not inherited.

Syntax
offset-distance: <length-percentage>

Example

Try it

Notes

Media: visual. Applies to: transformableElements. Computed value: forLengthAbsoluteValueOtherwisePercentage.

More in this group

offset offset-anchor offset-path offset-position offset-rotate

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course