--- id: 5a90372638fddaf9a66b5d38 title: Use grid-column to Control Spacing challengeType: 0 videoUrl: '' localeTitle: 使用grid-column(网格列)控制间距 --- ## Description
到目前为止,所讨论的所有属性都是针对网格容器的。 grid-column属性是第一个用于网格项本身的属性。网格的水平线和垂直线被称为line 。这些线在网格的左上角从1号线开始,从左向右,从上向下移动。3x3的网格线条是这个样子:

列线

1

2

3

4

横向线

1

2

3

4

如果要控制项目是怎么占用的列数的话,您可以在grid-column属性后面加入您希望的项目开始和结束的网格线号。例如:
grid-column:1/3;
这将会让使项目从左侧第一条网格垂直线开始,一直延伸到网格的第3条线,占据两个网格列。
## Instructions
使用item5class使项目占据网络格的最后两列。
## Tests
```yml tests: - text: item5类应该有一个grid-column具有的值属性2 / 4 testString: 'assert(code.match(/.item5\s*?{[\s\S]*grid-column\s*?:\s*?2\s*?\/\s*?4\s*?;[\s\S]*}/gi), "item5 class should have a grid-column property that has the value of 2 / 4.");' ```
## Challenge Seed
```html
1
2
3
4
5
```
## Solution
```js // solution required ```