--- title: CSS Flexible Box Layout slug: Web/CSS/CSS_Flexible_Box_Layout translation_of: Web/CSS/CSS_Flexible_Box_Layout ---

{{CSSRef}}

CSS Flexible is a module of CSS that defines a multi-column layout, allowing to express how content should flows between columns, and how gaps and rules are handled.

Reference

CSS Properties

Guides

Using CSS flexible boxes
Step-by-step tutorial about how to build layouts using this feature.
Using flexbox to lay out Web applications
Tutorial explaining how to use flexbox in the specific context of Web applications.

Specifications

Specification Status Comment
{{ SpecName('CSS3 Flexbox') }} {{ Spec2('CSS3 Flexbox') }} Initial definition.

Browser compatibility

{{CompatibilityTable()}}

Feature Firefox (Gecko) Chrome Internet Explorer Opera Safari
Basic support {{CompatGeckoDesktop("20.0")}} 21.0{{property_prefix("-webkit")}}
29.0
10.0{{property_prefix("-ms")}}
11.0
12.10 6.1{{property_prefix("-webkit")}}
Feature Firefox Mobile (Gecko) Android IE Phone Opera Mobile Safari Mobile
Basic support {{CompatVersionUnknown()}} 4.4 11 12.10 7.1{{property_prefix("-webkit")}}