20 lines
881 B
Markdown
20 lines
881 B
Markdown
---
|
||
title: Create a Row Gap using grid-row-gap
|
||
localeTitle: Создание пробела в строке с использованием разрыва сетки
|
||
---
|
||
## Создание пробела в строке с использованием разрыва сетки
|
||
|
||
Эта задача требует от вас добавить пробел `20px` между всеми строками CSS Grid в .container.
|
||
|
||
### намек
|
||
|
||
Чтобы добавить пробел между строками в сетке CSS, мы используем свойство CSS с `grid-row-gap` .
|
||
|
||
### Решение
|
||
|
||
Поскольку проблема заключается в том, что вы добавили разрыв в 5 `5px` , вы добавили бы следующую строку в кодовый блок `.container` CSS.
|
||
|
||
```css
|
||
grid-row-gap: 5px;
|
||
|
||
``` |