--- id: 5a90373638fddaf9a66b5d39 title: Use grid-row to Control Spacing challengeType: 0 videoUrl: '' localeTitle: 使用网格行控制间距 --- ## Description
当然,您可以像使用列一样使项目消耗多行。您可以使用网格项上的grid-row属性定义项目开始和停止的水平线。
## Instructions
使用item5类的元素消耗最后两行。
## Tests
```yml tests: - text: item5类应该有一个grid-row具有的值属性2 / 4 testString: 'assert(code.match(/.item5\s*?{[\s\S]*grid-row\s*?:\s*?2\s*?\/\s*?4\s*?;[\s\S]*}/gi), "item5 class should have a grid-row property that has the value of 2 / 4.");' ```
## Challenge Seed
```html
1
2
3
4
5
```
## Solution
```js // solution required ```