freeCodeCamp/guide/english/certifications/responsive-web-design/css-grid/add-rows-with-grid-template.../index.md

19 lines
450 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
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;
````