Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardCSSsubgrid track inheritanceSingle-choice MCQ

With a subgrid, how do the subgrid item's contents participate in the parent grid's track sizing (e.g. for an `auto` or content-based track in the parent)?

.parent { display: grid; grid-template-columns: auto auto; } .child { display: grid; grid-template-columns: subgrid; grid-column: span 2; } .grandchild { /* large content here */ }