Question · HTML and CSS course · Module 8: CSS Grid
Defining CSS Grid Rows
How do you define 3 rows in CSS Grid - the first with a fixed height of 100px, the second flexible, and the third automatic?
Answer options
- grid-template-rows: fixed(100px) flex auto
- rows: 100px 1fr auto
- grid-rows: 100px flex auto
- grid-template-rows: 100px 1fr auto
You can check the correct answer by solving this task in the CodeWorlds game.