The flex-flow property is a shorthand property for the flex-wrap and the flex-direction properties.

Syntax:

selector {

      flex-flow: flex-direction flex-wrap | initial |inherit; 

}

Values:

  • flex-direction - Defines the direction of a flexible item. Possible values are: row (default value), row-reversecolumn, column-reverseinitial and inherit
  • flex-wrap - Defines the wrapping technique of a flexible item. Possible items are: nowrap (default value, wrapwrap-reverseinitial and inherit
  • initial or inherit

Example

Example of flex-flow property with flex direction and flex wrap:

 

›› go to examples ››