v137 · css
Support offset-path: shape()
Support offset-path: shape(), to allow using responsive shapes to set the animation path.
concepts
-
offset-path: shape()
offset-path accepts the shape() function — declarative motion paths without resorting to SVG <path>. Composes with the rest of offset-* for keyframe-driven movement.
-
Shape Editor
Drag four handles, watch the
shape()string update live, copy-paste straight into a stylesheet. The mover follows the new path immediately. -
Shape runner
-
Shape Animation Gallery
Four simultaneous animations — wave, zigzag, oval loop, figure-eight — each following a different
offset-pathshape. Adjust global speed with a slider, pause and resume all tracks, and see the new CSSshape()function syntax alongside equivalentpath()strings.Run three elements along a CSS
shape()path with sliders for duration, scale, fill-mode, andoffset-rotate. Presets: figure-eight, racetrack, heart, sine wave. Generated CSS shown live.
why it shipped
Support offset-path: shape(), to allow using responsive shapes to set the animation path.