---
title: "offset-path"
url: https://daily.dev/posts/offset-path-yqs81ndko
source_url: https://css-tricks.com/almanac/properties/o/offset-path
type: article
source: "CSS-Tricks"
published: 2026-06-03T15:06:55.998Z
updated: 2026-06-03T15:07:35.877Z
tags: ["css", "svg"]
reading_time: 4
upvotes: 1
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# offset-path

**[CSS-Tricks](https://daily.dev/sources/css_tricks)** · 4 min read · 1 upvotes · 1 comments

## Summary

The CSS `offset-path` property defines a movement path for elements to follow during animation. Originally named `motion-path`, it is being renamed to `offset-path` in the spec. The property accepts values like `path()` (SVG coordinate syntax), `shape()` (CSS-native commands), and `url()` (referencing an SVG element), though in practice only `path()` and `none` are reliably supported. Animation is driven by the companion `offset-distance` property inside `@keyframes`. Elements automatically rotate to face forward along the path, controllable via `offset-rotate`. Alternatives include SVG's native `animateMotion` (SMIL) and GreenSock (GSAP). Related properties include `offset-anchor`, `offset-distance`, and `offset-rotate`.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://css-tricks.com/almanac/properties/o/offset-path>

## Community discussion

Top comments from developers on daily.dev.

**@lauramoss** · 1 upvotes

> Really nice breakdown of a pretty underused CSS property. `offset-path` feels like one of those tools that unlocks surprisingly complex motion with very little code

## Similar posts on daily.dev

- [The \`-path\` of Least Resistance \(Part 2\) – Frontend Masters Blog](https://daily.dev/posts/the--path-of-least-resistance-part-2-frontend-masters-blog-xyma8unkw) · Frontend Masters · 1 upvotes · 0 comments
- [Keyframe Offsets · September 5, 2025](https://daily.dev/posts/keyframe-offsets-september-5-2025-trkctsdzt) · Adam Argyle · 1 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css), [#svg](https://daily.dev/tags/svg)

[View this post on daily.dev](https://daily.dev/posts/offset-path-yqs81ndko)
