To define a subgrid on rows only use the value subgrid on a grid item of the parent as the value of grid-template-rows.
In this example I have then created grid tracks for columns on the subgrid using grid-template-columns: 1fr 1fr 1fr. These column tracks will then fit inside the area that the nested grid is placed in, just as with a regular nested grid.
Read the specification | View example as full page