styleditor.net styleditor.net styleditor.net styleditor.net English 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

מאפיין הקיצור offset מאחד את כל מאפייני motion path: offset-position, offset-path, offset-distance, offset-rotate, ו-offset-anchor. מאפשר להגדיר אנימציה של אלמנט לאורך מסלול גאומטרי בהצהרה אחת.
.car { offset: path("M 0 0 C 100 0 100 100 200 100"); } @keyframes drive { to { offset-distance: 100%; } } .car { offset: ray(45deg closest-side) 50% auto; animation: drive 5s linear infinite; }
פחות:0 יותר:9999 צעד:1 יחידות:% | px | em autoערך offset-rotate ברירת המחדל — נסיבה אוטומטית בכיוון המסלול.reverseערך offset-rotate — נסיבה הפוכה לכיוון המסלול.noneערך offset-path — אין מסלול.topערך offset-anchor — עוגן בצד העליון של האלמנט.bottomערך offset-anchor — עוגן בצד התחתון של האלמנט.leftערך offset-anchor — עוגן בצד השמאלי של האלמנט.rightערך offset-anchor — עוגן בצד הימני של האלמנט.centerערך offset-anchor — עוגן במרכז האלמנט.margin-boxתיבת ייחוס offset-anchor — margin-box של האלמנט.stroke-boxתיבת ייחוס offset-anchor — stroke-box (SVG).content-boxתיבת ייחוס offset-anchor — content-box של האלמנט.padding-boxתיבת ייחוס offset-anchor — padding-box של האלמנט.border-boxתיבת ייחוס offset-anchor — border-box של האלמנט.fill-boxתיבת ייחוס offset-anchor — fill-box (SVG).view-boxתיבת ייחוס offset-anchor — view-box (SVG viewport).normalערך offset-rotate — אין סיבוב; האלמנט שומר על כיוונו המקורי. path()מסלול SVG path data. תחביר: path("M 0 0 L 100 100").ray()קרן מנקודה בזווית. תחביר: ray(45deg closest-side).url()הפניה לאלמנט SVG path. תחביר: url(#myPath). Motion Path Module Level 1 Editor's Draft <length-percentage> W3CMDN
Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטסוגי ערכיםמקורות מידעהדגמה חזותית