blob: 3e5bd5016004adf51c4b87624201f49d22e16242 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
---
title: Flex Item
slug: Glossary/Flex_Item
translation_of: Glossary/Flex_Item
---
<p>{{glossary("Flex Container")}}(弹性容器)的一级子元素(设置<code>display: flex</code> 或 <code>display: inline-flex</code>的子元素)将成为弹性元素。</p>
<p>弹性容器内的连续文本,也将成为弹性元素。</p>
<h2 id="了解更多">了解更多</h2>
<h3 id="属性参考">属性参考</h3>
<div class="index">
<ul>
<li>{{cssxref("align-self")}}</li>
<li>{{cssxref("flex-basis")}}</li>
<li>{{cssxref("flex-grow")}}</li>
<li>{{cssxref("flex-shrink")}}</li>
<li>{{cssxref("order")}}</li>
</ul>
</div>
<h3 id="延伸阅读">延伸阅读</h3>
<ul>
<li>CSS 弹性布局指南: <em><a href="/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox">Basic Concepts of Flexbox</a></em></li>
<li>CSS 弹性布局指南: <em><a href="/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Ordering_Flex_Items">Ordering flex items</a></em></li>
<li>CSS 弹性布局指南: <em><a href="/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Controlling_Ratios_of_Flex_Items_Along_the_Main_Ax">Controlling Ratios of flex items along the main axis</a></em></li>
</ul>
|