2018-10-12 15:37:13 -04:00
---
title: Add Gaps Faster with grid-gap
---
2019-07-24 00:59:27 -07:00
# Add Gaps Faster with grid-gap
2018-10-12 15:37:13 -04:00
2019-07-24 00:59:27 -07:00
---
## Problem Explanation
2018-10-30 21:58:17 -05:00
In this challenge you are required to use "grid-gap" to define a row gap and a column gap.
2018-10-12 15:37:13 -04:00
2019-07-24 00:59:27 -07:00
---
## Hints
### Hint 1
2018-10-12 15:37:13 -04:00
2018-10-30 21:58:17 -05:00
You can define the gap for the row and column by declaring the following in the .container CSS codeblock:
2019-07-24 00:59:27 -07:00
```css
2018-10-30 21:58:17 -05:00
grid-gap: 'row-gap' 'column-gap';
2019-07-24 00:59:27 -07:00
```
2018-10-30 21:58:17 -05:00
and inserting the desired parameters for 'row-gap' and 'column-gap'.
2019-07-24 00:59:27 -07:00
---
## Solutions
< details > < summary > Solution 1 (Click to Show/Hide)< / summary >
2018-10-30 21:58:17 -05:00
Since the challenge requires you to create a 10px gap between the rows and a 20px gap between the columns, add the following code to the .container CSS codeblock:
2019-07-24 00:59:27 -07:00
```css
2018-10-30 21:58:17 -05:00
grid-gap: 10px 20px;
2019-07-24 00:59:27 -07:00
```
< / details >