---
id: 5a9036ee38fddaf9a66b5d36
title: Create a Row Gap using grid-row-gap
challengeType: 0
videoUrl: ''
localeTitle: 使用grid-row-gap创建行间隙
---
## Description
您可以使用grid-row-gap
在grid-row-gap
之间添加间隙,方法与在上一个挑战中的列之间添加间隙的方式相同。
## Instructions
## Tests
```yml
tests:
- text: container
类应该具有值为5px
的grid-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
## Solution
```js
// solution required
```