The [**fxLayout** directive][Layout] should be used on DOM containers whose children should layout or flow as the text direction along the main-axis or the cross-axis. ```html
1. One
2. Two
3. Three
4. Four
``` or ```html
1. One
2. Two
3. Three
4. Four
``` ![fxlayout](https://cloud.githubusercontent.com/assets/210413/23197582/eda570ee-f886-11e6-95ff-d25736d3dfdb.png) ### fxLayout Options Shown below are the supported **fxLayout** directive values and their resulting CSS stylings on the hosting element container: | Value | Equivalent CSS | | ----- | -------------- | | '' (default) | `flex-direction: row` | | `row` | `flex-direction: row` | | `row-reverse` | `flex-direction: row-reverse` | | `column` | `flex-direction: column` | | `column-reverse` | `flex-direction: column-reverse` | ### fxLayout + wrap By default, flex items will not wrap in their container. Formerly published as distinct directive, `fxLayoutWrap` was deprecated in favor of simply adding the **wrap** parameter as a secondary option to the `fxLayout` directive. ```html
1. One
2. Two
3. Three
4. Four
``` Note: when using `wrap`, developers must **first** specify the layout direction. ### fxLayout Side-Effects Changes to the fxLayout value will cause the following directives to update and modify their element stylings: * **fxLayoutGap** * **fxFlex** * **fxLayoutAlign** [Layout]: https://github.com/angular/flex-layout/blob/master/src/lib/flex/layout/layout.ts#L34-L40