Files
2018-10-16 21:32:40 +05:30

9 lines
411 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Use the align-self Property
localeTitle: 使用align-self属性
---
## 使用align-self属性
这种挑战的主要原因应该是`float` `clear``vertical-align`不适用于柔性物品。这就是为什么我们有flex属性`align-self` ,它接受与`align-items`相同的值,并且优先于后者设置的任何值。
这意味着`align-self: center;``align-items: center;`不会。