Hacker News new | ask | show | jobs
by kumarvvr 204 days ago
How is this different to, and better than using nested grids?
2 comments

This is addressed in the article. This really shines when you have sibling dependent layouts.
If you nest two grids, the rows and columns of two sibling grids are not forced two align.

With subgrid the rows and columns of two sibling grids are aligned with each other by glueing them to the rows and columns of the parent grid.