css subgrid
-
HTML/CSS
CSS Subgrid Explained: Align Nested Layouts Perfectly (With Examples)
CSS Subgrid lets a nested grid reuse its parent grid’s rows or columns with grid-template-rows: subgrid or grid-template-columns: subgrid. Children of different items can then line up on the same tracks, which fixes card layouts where titles, text and buttons don’t align. It works in all current major browsers.

