--- id: 5a94fdf869fb03452672e45b title: Align All Items Vertically using align-items challengeType: 0 videoUrl: '' localeTitle: 使用align-items垂直对齐所有项目 --- ## Description
使用网格容器上的align-items属性将为网格中的所有项目设置垂直对齐方式。
## Instructions
现在使用它将所有项目移动到每个单元格的末尾。
## Tests
```yml tests: - text: container类应该具有值为endalign-items属性。 testString: 'assert(code.match(/.container\s*?{[\s\S]*align-items\s*?:\s*?end\s*?;[\s\S]*}/gi), "container class should have a align-items property that has the value of end.");' ```
## Challenge Seed
```html
1
2
3
4
5
```
## Solution
```js // solution required ```