19 lines
450 B
Markdown
19 lines
450 B
Markdown
---
|
|
title: Add Rows with grid-template-rows
|
|
---
|
|
## Add Rows with grid-template-rows
|
|
|
|
In this challenge, you are required to define rows for the CSS grid in `<div class="container">`.
|
|
|
|
### Hint
|
|
|
|
You can define rows by using the `grid-template-rows` CSS property.
|
|
|
|
### Solution
|
|
|
|
Since the challenge requires you to create two rows of `50px` each, declare the followin in your `.container` CSS code block:
|
|
|
|
````css
|
|
grid-template-rows: 50px 50px;
|
|
````
|