Files
2018-10-16 21:32:40 +05:30

20 lines
467 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Create a Row Gap using grid-row-gap
localeTitle: 使用grid-row-gap创建行间隙
---
## 使用grid-row-gap创建行间隙
这个挑战要求您在.container中的CSS Grid的所有行之间添加`20px`的间隙。
### 暗示
要在CSS网格中的行之间添加间隙我们使用`grid-row-gap` CSS属性。
### 解
由于挑战是你添加`5px`的差距,你可以将以下行添加到`.container` CSS代码块。
```css
grid-row-gap: 5px;
```