Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Last updated on : 2023-03-20
This is a module defining the offset-path property. It provides animatable motion paths using SVG Paths or basic shapes.
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;
index.html
Source:index.html
Browser Support For Safari on iOS Versions
Browser Support For Android Browser Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Browser Support For Samsung Internet Versions
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeTest your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for CSS Motion Path and many more web technologies that are a part of your website or web-application.
Last Modified date
2023-03-20
Data sourced from
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeHarness the power of Chromium-based engine to deliver responsive websites and web apps.
Try for freeGet 100 minutes of automation test minutes FREE!!