- Objective: - Breadcrumb: # 概念阐释 ## 语义 `flex`是`flex-grow` `flex-shrink` `flex-basis` 的缩写。 ## 语法 ```css .item{ flex: 0 1 auto; } ``` - 均为默认值。 - 只能用在item盒子中。 - 顺序为`flex-grow` `flex-shrink` `flex-basis` # 实例 not grow, not shrink, flex-basis:100 ```css .second { flex: 0 0 100px; } .item { /*2个item共享的css样式*/ } ``` # 相关内容 # 参考资料