...

/

Problem: Nested Grid Subgrid Rhythm

Problem: Nested Grid Subgrid Rhythm

Try to use CSS Subgrid to inherit a parent baseline grid and align nested text elements without margins.

Problem description

You have a parent container with the class .layout that uses CSS Grid to create two columns and defines grid-auto-rows: var(--rhythm). Inside each grid cell is a .module element containing an <h3> and one or more <p> elements. Your task is to use CSS Subgrid so that the nested .module ...