To define a subgrid in both dimensions - columns and rows - use the value subgrid
on a grid item of the parent as the value of grid-template-columns
and grid-template-rows
. The nested grid is now tied to the number of grid tracks and dimensions of the parent grid.
Read the specification | View example as full page