Grid by Example

Everything you need to learn CSS Grid Layout

Line names on the parent are passed into the subgrid

If you define line names on your main grid, these lines will be passed into the subgridded item. This means that you can position grandchildren using the grid line names defined on the parent grid.

Read the specification | View example as full page

See the Pen Grid by Example 2.6: line names on the parent are passed into the subgrid by rachelandrew (@rachelandrew) on CodePen.