--- id: 5a9036ee38fddaf9a66b5d36 challengeType: 0 videoUrl: 'https://scrimba.com/p/pByETK/cPbJ2Cv' forumTopicId: 301125 localeTitle: 使用 grid-row-gap 创建多行之间的间距 --- ## Description
和上个挑战在两列之间添加间距一样,你可以用grid-row-gap在两行之间设置间距。
## Instructions
为网格中的行添加高度为5px的间距。
## Tests
```yml tests: - text: 'container类应该有grid-row-gap属性且值为5px。' testString: assert(code.match(/.container\s*?{[\s\S]*grid-row-gap\s*?:\s*?5px\s*?;[\s\S]*}/gi)); ```
## Challenge Seed
```html
1
2
3
4
5
```
## Solution
```js // solution required ```