--- title: flex-flow slug: Web/CSS/flex-flow translation_of: Web/CSS/flex-flow ---
CSS flex-flow 属性是 flex-direction 和 flex-wrap 的简写。
{{cssinfo}}
更多信息参见 使用 CSS 弹性盒
Formal syntax: {{csssyntax("flex-flow")}}
更多取值信息请查看 flex-direction 和 flex-wrap
element {
/* Main-axis is the block direction with reversed main-start and main-end. Flex items are laid out in multiple lines */
flex-flow: column-reverse wrap;
}
| Specification | Status | Comment |
|---|---|---|
| CSS Flexible Box Layout Module | {{ Spec2('CSS3 Flexbox') }} |
{{ CompatibilityTable() }}
| 特性 | Firefox (Gecko) | Chrome | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| 基础支持 | 28.0 |
21.0{{property_prefix("-webkit")}} |
11 | 12.10 | 6.1{{ property_prefix("-webkit") }} |
| Feature | Firefox Mobile (Gecko) | Android | IE Phone | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| 基础支持 | 28.0 | {{ CompatUnknown() }} | 11 | 12.10 | 7.1{{ property_prefix("-webkit") }} |