CSSCSS22 min read

CSS Grid Rows

Understand how grid rows work, auto height vs fixed height, and how vertical layouts are controlled.

David Miller
December 31, 2025
0.0k0

Rows control **vertical layout**. ## Example ```css .container { display: grid; grid-template-rows: 80px auto 60px; } ``` ## UI imagination - Header: 80px - Content: flexible - Footer: 60px ## Real-world example Almost every website page. ## Important note Avoid fixed height unless necessary.

#CSS#Beginner