chore(i8n,learn): processed translations
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
15047f2d90
commit
e5c44a3ae5
@ -9,13 +9,13 @@ dashedName: use-the-align-self-property
|
||||
|
||||
# --description--
|
||||
|
||||
flex 子项目的最后一个属性是 `align-self`。这个属性允许你调整单个子元素自己的对齐方式,而不会影响到全部子元素。因为 `float`、`clear` 和 `vertical-align` 等调整对齐方式的属性都不能应用于 flex 子元素,所以这个属性显得十分有用。
|
||||
flex 子项目的最后一个属性是 `align-self`。 这个属性允许你调整单个子元素自己的对齐方式,而不会影响到全部子元素。 因为 `float`、`clear` 和 `vertical-align` 等调整对齐方式的属性都不能应用于 flex 子元素,所以这个属性显得十分有用。
|
||||
|
||||
`align-self` 可设置的值与 `align-items` 的一样,并且它会覆盖 `align-items` 所设置的值。
|
||||
|
||||
# --instructions--
|
||||
|
||||
请为 `#box-1` 和 `#box-2` 添加 CSS 属性 `align-self`。将 `#box-1` 的 `align-self` 属性值设为 center,将 `#box-2` 的设为 `flex-end`。
|
||||
请为 `#box-1` 和 `#box-2` 添加 CSS 属性 `align-self`。 将 `#box-1` 的 `align-self` 属性值设为 center,将 `#box-2` 的设为 `flex-end`。
|
||||
|
||||
# --hints--
|
||||
|
||||
|
Reference in New Issue
Block a user