Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
This is a module defining the offset-path property. It provides animatable motion paths using SVG Paths or basic shapes.
Last updated on : 2023-03-20
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
Inherited
no
Applies to
transformable elements
Initial value
none
Animation type
as <angle>, <basic-shape> or <path()>
Computed value
as specified
Creates stacking context
yes
Motion Path Module Level 1 # offset-path-property
/* Default */
offset-path: none;
/* Function values */
offset-path: ray(45deg closest-side contain);
/* URL */
offset-path: url(#path);
/* Shapes */
offset-path: circle(50% at 25% 25%);
offset-path: inset(50% 50% 50% 50%);
offset-path: polygon(30% 0%, 70% 0%, 100% 50%, 30% 100%, 0% 70%, 0% 30%);
offset-path: path('M 0,200 Q 200,200 260,80 Q 290,20 400,0 Q 300,100 400,200');
/* Geometry Boxes */
offset-path: margin-box;
offset-path: stroke-box;
/* Global values */
offset-path: inherit;
offset-path: initial;
offset-path: revert;
offset-path: unset;
CSS Motion Path on IE is not supported on any IE versions.
CSS Motion Path on Edge is fully supported on 79-111, and not supported on 12-18 Edge versions.
CSS Motion Path on Firefox is fully supported on 72-113, and not supported on 2-71 Firefox versions.
CSS Motion Path on Chrome is fully supported on 46-114, and not supported on 4-45 Chrome versions.
CSS Motion Path on Safari is fully supported on 16-16.4, and not supported on 3.2-15 Safari versions.
CSS Motion Path on Opera is fully supported on 33-95, and not supported on 9.5-32 Opera versions.
CSS Motion Path on Safari on iOS is fully supported on 16-16.4, and not supported on 3.2-15.6 Safari on iOS versions.
CSS Motion Path on Android Browser is fully supported on 97-111, and not supported on 2.1-4 Android Browser versions.
CSS Motion Path on Opera Mobile is fully supported on 64-73, and not supported on 10-12 Opera Mobile versions.
CSS Motion Path on Chrome for Android is fully supported on all Chrome for Android versions.
CSS Motion Path on Firefox for Android is fully supported on all Firefox for Android versions.
CSS Motion Path on Samsung Internet is fully supported on 5-20, and not supported on 4-4 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:CSS Motion Path shows a browser compatibility score of 85. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for CSS Motion Path & more
Test your website for CSS Motion Path and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?