styleditor.net styleditor.net styleditor.net styleditor.net עברית accent-coloralignalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexfloatfloodfontforced-color-adjustgapgridheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlinelistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetoffset-anchoroffset-distanceoffset-pathoffset-positionoffset-rotateopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

offset-path CSS Property

The offset-path property specifies a path along which an element is animated (motion path). The element translates from the start to the end of the path according to offset-distance, and may rotate with the path direction via offset-rotate. .mover { offset-path: path('M 0 0 L 200 0'); } .orbit { offset-path: circle(100px at 50% 50%); animation: spin 4s linear infinite; } noneNo motion path (default value).border-boxPath follows the element's border box edge.padding-boxPath follows the padding box edge.margin-boxPath follows the margin box edge.fill-boxPath follows the SVG fill bounding box.stroke-boxPath follows the SVG stroke bounding box.view-boxPath follows the SVG viewBox.content-boxPath follows the element's content box edge. path()Defines a path using SVG path data syntax, e.g. path('M 0 0 L 100 100').ray()A straight ray path defined by an angle, e.g. ray(45deg closest-side).circle()Circular path.ellipse()Elliptical path.polygon()Polygonal path.url()References an SVG shape element as the path. Motion Path Module Level 1 Editor's Draft W3CMDN Show all code Edit CSS online The plugin that remembers hundreds of CSS items for you Every CSS property — in a live demonstration The bilingual CSS reference
definitionexamplessyntaxmodulespecificationsourcesvisual demonstration