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-sizeisolationjustifyjustify-contentjustify-itemsjustify-selfleftletter-spacinglighting-colorlinelistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

מאפיין justify-items

מאפיין justify-items קובע את היישור של פריטים בודדים על ציר ה-inline (או cross axis) של הקונטיינר. בניגוד ל-justify-content (שמיישר את כל הקבוצה), justify-items מיישר כל פריט בתוך ה-cell שלו. ערך ברירת המחדל legacy שומר על תאימות.
.grid { justify-items: center; } .dashboard { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: start; }
legacyהתנהגות תאימות לאחור — מצביעה לערך text-align במקרים מסוימים (ברירת המחדל).normalברירת המחדל של הקונטיינר (stretch ב-grid, start ב-block).stretchפריטים נמתחים כדי למלא את ה-cell.startפריטים מיושרים לתחילת ה-cell.endפריטים מיושרים לסוף ה-cell.centerפריטים ממורכזים בתוך ה-cell.leftפריטים מיושרים שמאלה (פיזית).rightפריטים מיושרים ימינה (פיזית).baseline<baseline-position>: פריטים מיושרים לקו הבסיס.first baseline<baseline-position>: פריטים מיושרים לקו הבסיס הראשון של הקבוצה.last baseline<baseline-position>: פריטים מיושרים לקו הבסיס האחרון של הקבוצה.flex-startפריטים מיושרים לתחילת ציר ה-flex (שקול ל-start בגריד).flex-endפריטים מיושרים לסוף ציר ה-flex (שקול ל-end בגריד).self-startכל פריט מיושר לתחילת ה-cell בהתאם לכיוון הטקסט שלו.self-endכל פריט מיושר לסוף ה-cell בהתאם לכיוון הטקסט שלו.anchor-centerפריטים ממורכזים ביחס לעוגן שלהם (anchor positioning). CSS Box Alignment Module Level 3 Editor's Draft W3CMDN
CSS CSS CSS Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטמקורות מידעהדגמה חזותית