freeCodeCamp/guide/english/certifications/responsive-web-design/css-grid/create-a-column-gap-using-g.../index.md

25 lines
521 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: Create a Column Gap Using grid-column-gap
---
## Create a Column Gap Using grid-column-gap
This challenge requires you to add a gap of 20px between all the columns of the CSS Grid in .container.
### Hint
To add the gap between the columns of a grid, we use:
````css
grid-column-gap: parameter;
````
where parameter is the required gap.
### Solution
Since the challenge has you adding a gap of 20px, you would add the following line to the .container CSS codeblock.
````css
grid-column-gap: 20px;
````