TLDR Dev · ARTICLES & TUTORIALS
BRAND NEW LAYOUTS WITH CSS SUBGRID
Summary from the TLDR Dev newsletter
CSS Subgrid allows developers to extend CSS Grid layouts through the DOM tree, enabling new UI possibilities and better semantic markup. It allows nested elements to participate in the parent grid, solving issues with nested layouts and sibling responsiveness. Devs can use `grid-template-rows: subgrid` and `grid-template-columns: subgrid` to inherit the grid template.