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-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

מאפיין z-index

מאפיין z-index קובע את סדר הערימה (stack order) של אלמנט ממוקם — קובע איזה אלמנט מציג מעל איזה כשהם חופפים. ערכים גבוהים יותר מציגים מעל ערכים נמוכים יותר. עובד רק על אלמנטים עם position שאינו static.
.modal { z-index: 100; } .tooltip { position: absolute; z-index: 9999; } .backdrop { z-index: -1; }
פחות:-9999 יותר:9999 צעד:1 יחידות: autoערך ברירת המחדל. סדר הערימה זהה להורה; לא יוצר stacking context חדש. CSS 2 Editor's Draft W3CMDN
this zindex 1 zindex 2 zindex 3 zindex 4 Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטמקורות מידעהדגמה חזותית