styleditor.net styleditor.net styleditor.net styleditor.net English accent-coloralignalignment-baselineallanchoranimationanimation-compositionanimation-delayanimation-directionanimation-durationanimation-fill-modeanimation-iteration-countanimation-nameanimation-play-stateanimation-rangeanimation-range-endanimation-range-startanimation-timelineanimation-timing-functionanimation-triggerappearanceaspect-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-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

מאפיין animation-trigger

מאפיין animation-trigger קובע אם האנימציה היא triggered (מופעלת-טריגר) ולאיזה טריגר מגיבה. זהו reset-only sub-property של animation shorthand.
.card { animation-trigger: once; } .reveal { animation: fade-in 1s ease; animation-trigger: state; }
noneערך ברירת המחדל. אין טריגר — האנימציה מתחילה מיידית.onceהטריגר מפעיל פעם אחת.repeatהטריגר מפעיל בכל פעם שהתנאי מתקיים.alternateהטריגר מחליף כיוון בכל הפעלה.stateהטריגר תלוי במצב — אנימציה רצה כל עוד התנאי מתקיים.playמפעיל את האנימציה קדימה בכל הפעלת טריגר.play-onceמפעיל את האנימציה קדימה פעם אחת בלבד.play-forwardsמפעיל את האנימציה לכיוון קדימה ועוצר בסוף.play-backwardsמפעיל את האנימציה לכיוון אחורה ועוצר בהתחלה.pauseמושהה את האנימציה כשהטריגר פעיל.resetמאפס את האנימציה לנקודת ההתחלה.replayמאפס ומפעיל מחדש את האנימציה מההתחלה. CSS Animations Level 2 Editor's Draft W3C
ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטמקורות מידע