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-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontransition-behaviortransition-delaytransition-durationtransition-propertytransition-timing-functiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

The CSS Propertie transition

מאפיין הקיצור transition משלב את ארבעת מאפייני המעבר: property, duration, timing-function, delay. ערך הזמן הראשון = duration, השני = delay. ניתן לרשום מספר transitions מופרדים בפסיק.
.box { transition: opacity 300ms ease-in; } .box { transition: transform 0.4s ease-out 0.1s, background-color 0.2s linear; }
פחות:0 יותר:10000 צעד:100 יחידות:ms | s noneמ-transition-property: ללא מעבר.allמ-transition-property: כל המאפיינים הניתנים להנפשה.easeeasing: מהיר בהתחלה, מאט בסוף (ברירת מחדל).lineareasing: קצב אחיד.ease-ineasing: מתחיל לאט.ease-outeasing: מסתיים לאט.ease-in-outeasing: לאט בקצוות.step-starteasing: קופץ מיד לערך הסופי.step-endeasing: קופץ לערך הסופי בסוף.jump-starteasing (steps): קפיצה בתחילת כל מקטע.jump-endeasing (steps): קפיצה בסוף כל מקטע.jump-noneeasing (steps): אין קפיצה בקצוות — הערכים הראשון והאחרון מוחזקים.jump-botheasing (steps): קפיצה גם בהתחלה וגם בסוף.starteasing (steps): שם חלופי ל-jump-start.endeasing (steps): שם חלופי ל-jump-end.normalמ-transition-behavior: התנהגות ברירת מחדל — רק מאפיינים הניתנים להנפשה.allow-discreteמ-transition-behavior: מאפשר מעבר גם למאפיינים דיסקרטיים כגון display. cubic-bezier()easing מותאם אישית: cubic-bezier(x1, y1, x2, y2).steps()easing: steps(n, position?) חלוקה למקטעים.linear()easing: linear() עם נקודות בקרה מותאמות. CSS Transitions Module Level 1 Working Draft W3CMDN
Hover over me Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטמקורות מידעהדגמה חזותית