I find the concept of subgrid a little hard to wrap my mind around.
I do understand the idea that we want to use nested semantic markup as we like and have elements participate in one grid so we don’t have to flatten our markup just for layout reasons. But that is largely handled by display: contents;.
Rachel Andrew explains it in a way that finally clicked for me:
I have an item spanning three column tracks of the …
The post Grid Level 2 and Subgrid appeared first on CSS-Tricks.