flex-flow

A shorthand property that combines 'flex-direction' and 'flex-wrap'. It lets you set the direction of items and whether they should wrap in one line of code.

Quick example

.container {
  display: flex;
  /* sets direction to row and enables wrapping */
  flex-flow: row wrap;
}

Quick facts

Initial value
See individual properties
Inherited
No
Applies to
flex containers

Values

flex-directionflex-wrap

flex-flow Browser Support

Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

29+
28+
9+
12+
ESC