--- id: 5a9036ee38fddaf9a66b5d36 title: Create a Row Gap using grid-row-gap challengeType: 0 videoUrl: '' localeTitle: 使用grid-row-gap创建行间隙 --- ## Description
您可以使用grid-row-gapgrid-row-gap之间添加间隙,方法与在上一个挑战中的列之间添加间隙的方式相同。
## Instructions
5px高的行创建间隙。
## Tests
```yml tests: - text: container类应该具有值为5pxgrid-row-gap属性。 testString: 'assert(code.match(/.container\s*?{[\s\S]*grid-row-gap\s*?:\s*?5px\s*?;[\s\S]*}/gi), "container class should have a grid-row-gap property that has the value of 5px.");' ```
## Challenge Seed
```html
1
2
3
4
5
```
## Solution
```js // solution required ```