offset-distance
Widely availableSince 202296% of users
Specifies how far along a motion path (defined by offset-path) an element should be placed. It's usually animated from 0% to 100%.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since September 2022. Widely available since March 2025.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
0- Inherited
- No
- Applies to
- transformable elements
- Animation type
- lpc
Quick example
.moving-dot {
offset-path: path('M 0 0 L 100 100');
/* Places the dot halfway along the line */
offset-distance: 50%;
}offset-distance browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2022.Safe to use without fallbacks.
Usage96%of people can use this4% use a browser without it.
Browsers
55+
72+
16+
79+Mobile
55+Android
79+Android
16+iOS