freeCodeCamp/guide/russian/certifications/responsive-web-design/css-grid/create-a-row-gap-using-grid.../index.md

20 lines
881 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
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;
```