---
title: Align Elements Using the align-items Property
localeTitle: 使用align-items属性对齐元素
---
## 使用align-items属性对齐元素

虽然鼓励尝试`align-items`的不同选项，但设置值是`center`是传递此挑战的唯一方法。

在玩不同的选项时，您会发现`strech`是属性的默认值。