Skip to content

Commit

Permalink
zh-cn: update the translation of the flex-grow (#18331)
Browse files Browse the repository at this point in the history
  • Loading branch information
heygsc committed Feb 27, 2024
1 parent e69c35f commit bf33181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/css/flex-grow/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ flex-grow: unset;

剩余空间是 flex 容器的大小减去所有 flex 项的大小加起来的大小。如果所有的兄弟项目都有相同的 flex-grow 系数,那么所有的项目将剩余空间按相同比例分配,否则将根据不同的 flex-grow 定义的比例进行分配。

`flex-grow` 与其他的 flex 属性{{cssxref("flex-shrink")}}{{cssxref("flex-basis")}}一起使用,通常使用{{cssxref("flex")}} 速记来定义,以确保所有的值都被设置。</p>
`flex-grow` 与其他的 flex 属性 {{cssxref("flex-shrink")}}{{cssxref("flex-basis")}} 一起使用,通常使用 {{cssxref("flex")}} 简写来定义,以确保所有的值都被设置。

## 正式定义

Expand Down

0 comments on commit bf33181

Please sign in to comment.