Skip to content
Skip the list of specifications

grid

renders differently: 0 of 12 examples match Chrome

css-grid-2

The property takes effect, but our pixels are not Chrome’s. The difference map on this page shows where.

What the specification says

Initial valuenone
Applies togrid containers
Inheritedsee individual properties
Percentagessee individual properties
Computed valuesee individual properties
Syntax<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>

The definition in css-grid-2

The measurements

12 examples, all 12 render differently. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.

grid:"X" fit-content(80px), grid:"X" min-content, grid:"X" max-content

renders differently
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome64,000
The same, on the page without the declaration0
Largest difference on one colour channel187 of 255
The same, on the page without the declaration0 of 255

The declaration takes effect differently from Chrome: the difference map shows where.

The example’s page

grid:"X", grid:[a] "X", grid:"X" [a], grid:"X" / 2fr

renders differently
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome32,000
The same, on the page without the declaration0
Largest difference on one colour channel153 of 255
The same, on the page without the declaration0 of 255

The declaration takes effect differently from Chrome: the difference map shows where.

The example’s page

grid:80px / none, grid:80px / 2fr, grid:80px / subgrid, grid:80px / subgrid [a], grid:"X" 80px

renders differently
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome23,998
The same, on the page without the declaration0
Largest difference on one colour channel187 of 255
The same, on the page without the declaration0 of 255

The declaration takes effect differently from Chrome: the difference map shows where.

The example’s page

Which values were measured

A match on one example means a match at the value tried. The property’s grammar has 75 branches, and 12 of them carry a measurement. At most 12 examples are published per property, so a branch past that is left out by our choice.

ValueMeasured
80px / 80pxnot measured
none / 80pxnot measured
[a] 80px / 80pxnot measured
minmax(60px, 120px) / 80pxnot measured
fit-content(80px) / 80pxnot measured
2fr / 80pxnot measured
min-content / 80pxnot measured
max-content / 80pxnot measured
80px [a] / 80pxnot measured
subgrid / 80pxnot measured
subgrid [a] / 80pxnot measured
80px / none
renders differently
80px / [a] 80pxnot measured
80px / minmax(60px, 120px)not measured
80px / fit-content(80px)not measured
80px / 2fr
renders differently
80px / min-contentnot measured
80px / max-contentnot measured
80px / 80px [a]not measured
80px / subgrid
renders differently
80px / subgrid [a]
renders differently
"X"
renders differently
[a] "X"
renders differently
"X" 80px
renders differently
"X" minmax(60px, 120px)not measured
"X" fit-content(80px)
renders differently
"X" 2frnot measured
"X" min-content
renders differently
"X" max-content
renders differently
"X" [a]
renders differently
"X" / 80pxnot measured
"X" / [a] 80pxnot measured
"X" / minmax(60px, 120px)not measured
"X" / fit-content(80px)not measured
"X" / 2fr
renders differently
"X" / min-contentnot measured
"X" / max-contentnot measured
"X" / 80px [a]not measured
80px / auto-flownot measured
none / auto-flownot measured
[a] 80px / auto-flownot measured
minmax(60px, 120px) / auto-flownot measured
fit-content(80px) / auto-flownot measured
2fr / auto-flownot measured
min-content / auto-flownot measured
max-content / auto-flownot measured
80px [a] / auto-flownot measured
subgrid / auto-flownot measured
subgrid [a] / auto-flownot measured
80px / auto-flow densenot measured
80px / auto-flow 80pxnot measured
80px / auto-flow minmax(60px, 120px)not measured
80px / auto-flow fit-content(80px)not measured
80px / auto-flow 2frnot measured
80px / auto-flow min-contentnot measured
80px / auto-flow max-contentnot measured
auto-flow / 80pxnot measured
auto-flow dense / 80pxnot measured
auto-flow 80px / 80pxnot measured
auto-flow minmax(60px, 120px) / 80pxnot measured
auto-flow fit-content(80px) / 80pxnot measured
auto-flow 2fr / 80pxnot measured
auto-flow min-content / 80pxnot measured
auto-flow max-content / 80pxnot measured
auto-flow / nonenot measured
auto-flow / [a] 80pxnot measured
auto-flow / minmax(60px, 120px)not measured
auto-flow / fit-content(80px)not measured
auto-flow / 2frnot measured
auto-flow / min-contentnot measured
auto-flow / max-contentnot measured
auto-flow / 80px [a]not measured
auto-flow / subgridnot measured
auto-flow / subgrid [a]not measured
nonenot measured

Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured