Flex Item
Flex Container(弹性容器) 的一级子元素 (设置display: flex
或 display: inline-flex
的子元素) 将成为弹性元素。
弹性容器内的连续文本,也将成为弹性元素。
了解更多
属性参考
延伸阅读
- CSS 弹性布局指南:Basic Concepts of Flexbox
- CSS 弹性布局指南:Ordering flex items
- CSS 弹性布局指南:Controlling Ratios of flex items along the main axis