עברית
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
grid-auto-rows CSS Property
The grid-auto-rows property sets the size of implicit rows — rows auto-generated when grid items are placed outside the explicit grid. Takes one or more track-sizes; multiple values repeat as a pattern.
.grid {
grid-auto-rows: 100px;
}
.feed {
display: grid;
grid-auto-rows: minmax(80px, auto);
}
min:0
max:9999
step:1
units:px | em | rem | % | fr | vh
autoRow expands to fit its content (default).min-contentMinimum size that fits the content.max-contentMaximum size needed for unwrapped content.
minmax()Range between min and max. Syntax: minmax(100px, auto).fit-content()Fits content up to a max size. Syntax: fit-content(200px).
CSS Grid Layout Module Level 2
Editor's Draft
<length-percentage>
W3CMDN
1
2
3
4
5
6
Show all code
Edit CSS online
The plugin that remembers hundreds of CSS items for you
Every CSS property — in a live demonstration
The bilingual CSS reference
previousnext