styleditor.net styleditor.net styleditor.net styleditor.net English accent-coloralignalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexfloatfloodfontforced-color-adjustgapgridgrid-areagrid-auto-columnsgrid-auto-flowgrid-auto-rowsgrid-columngrid-column-endgrid-column-gapgrid-column-startgrid-gapgrid-rowgrid-row-endgrid-row-gapgrid-row-startgrid-templategrid-template-areasgrid-template-columnsgrid-template-rowsheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlinelistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

The CSS Propertie grid-template-areas

מאפיין grid-template-areas מגדיר "named grid areas" בתבנית של מחרוזות — כל מחרוזת מייצגת שורה ב-grid, וכל מילה במחרוזת מייצגת תא בעל שם. נקודות (.) מסמנות תאים ריקים. שמות זהים סמוכים יוצרים אזור אחד שמשתרע על מספר תאים.
.layout { grid-template-areas: "head head" "nav main" "foot foot"; } .dashboard { display: grid; grid-template-areas: "sidebar header header" "sidebar main aside" "footer footer footer"; grid-template-columns: 200px 1fr 200px; }
noneאין אזורים בעלי שם — מסלולים נוצרים על-ידי grid-template-columns/rows (ברירת המחדל). CSS Grid Layout Module Level 2 Editor's Draft W3CMDN
1 2 3 4 5 6 Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטמקורות מידעהדגמה חזותית