--- id: 5a90375238fddaf9a66b5d3b title: Align an Item Vertically using align-self challengeType: 0 videoUrl: '' localeTitle: 使用align-self垂直对齐项目 --- ## Description
正如您可以水平对齐项目一样,也可以垂直对齐项目。为此,您可以在项目上使用align-self属性。此属性接受来自上一次挑战的所有与justify-self相同的值。
## Instructions
对齐项目与类item3在垂直end
## Tests
```yml tests: - text: item3类应该有一个align-self属性,其值为end 。 testString: 'assert(code.match(/.item3\s*?{[\s\S]*align-self\s*?:\s*?end\s*?;[\s\S]*}/gi), "item3 class should have a align-self property that has the value of end.");' ```
## Challenge Seed
```html
1
2
3
4
5
```
## Solution
```js // solution required ```