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-orderperspectiveplaceplace-contentplace-itemsplace-selfpointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

The CSS Propertie place-items

מאפיין הקיצור place-items מאחד את align-items (ציר block) ו-justify-items (ציר inline) בהצהרה אחת. ערך יחיד חל על שני הצירים; שני ערכים — הראשון לציר block, השני לציר inline. שימושי במיוחד למרכוז כל הפריטים.
.grid { place-items: center; } .gallery { display: grid; grid-template-columns: repeat(auto-fill, 200px); place-items: end stretch; }
normalברירת המחדל של הקונטיינר.stretchפריטים נמתחים למילוי ה-cell.startהתחלת ציר ה-alignment container.endסוף ציר ה-alignment container.self-startיישור לקצה ה-start של הפריט עצמו (לפי writing mode של הפריט).self-endיישור לקצה ה-end של הפריט עצמו (לפי writing mode של הפריט).centerמרכז.flex-startיישור לתחילת ציר flex; מחוץ ל-flex פועל כמו start.flex-endיישור לסוף ציר flex; מחוץ ל-flex פועל כמו end.baselineיישור לקו הבסיס הראשון (שווה ל-first baseline).first baselineיישור לקו הבסיס הראשון של הפריט.last baselineיישור לקו הבסיס האחרון של הפריט.safeאם הפריט גולש, הוא מיושר כ-start כדי למנוע אובדן נתונים.unsafeמיושר לפי הערך שצוין גם אם הפריט גולש.leftיישור לקצה השמאלי הפיזי — תקף רק ב-justify-items, לא ב-align-items.rightיישור לקצה הימני הפיזי — תקף רק ב-justify-items, לא ב-align-items.legacyמעביר את הערך (left, right, center) לצאצאים דרך justify-self — תקף רק ב-justify-items. CSS Box Alignment Module Level 3 Editor's Draft W3CMDN
Box 1 Box 2 Box 3 Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטמקורות מידעהדגמה חזותית