# Subgrid: Lining Up Cards

With grid-template-rows: subgrid, cards in a row share their parent grid's rows, so every card's title, text and button line up across the row however long each card's text is.

![Cheat sheet: Subgrid: Lining Up Cards](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/e3fe7623f208403e95e4feff6a4734b1.webp)

- Category: CSS
- Level: Freelancer
- Tags: CSS, Grid track, Subgrid
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/css-subgrid-cheat-sheet
