flex-flow
Quick Summary for flex-flow
The flex-flow CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
Code Usage for flex-flow
/* flex-flow: <'flex-direction'> */ flex-flow: row; flex-flow: row-reverse; flex-flow: column; flex-flow: column-reverse;  /* flex-flow: <'flex-wrap'> */ flex-flow: nowrap; flex-flow: wrap; flex-flow: wrap-reverse;  /* flex-flow: <'flex-direction'> and <'flex-wrap'> */ flex-flow: row nowrap; flex-flow: column wrap; flex-flow: column-reverse wrap-reverse;  /* Global values */ flex-flow: inherit; flex-flow: initial; flex-flow: revert; flex-flow: unset; 
More Details for flex-flow

flex-flow

The flex-flow CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior.

Constituent properties

This property is a shorthand for the following CSS properties:

flex-direction flex-wrap

Syntax

/* flex-flow: <'flex-direction'> */ flex-flow: row; flex-flow: row-reverse; flex-flow: column; flex-flow: column-reverse;  /* flex-flow: <'flex-wrap'> */ flex-flow: nowrap; flex-flow: wrap; flex-flow: wrap-reverse;  /* flex-flow: <'flex-direction'> and <'flex-wrap'> */ flex-flow: row nowrap; flex-flow: column wrap; flex-flow: column-reverse wrap-reverse;  /* Global values */ flex-flow: inherit; flex-flow: initial; flex-flow: revert; flex-flow: unset; 

Values

See flex-direction and flex-wrap for details on the values.

Formal definition

Initial valueas each of the properties of the shorthand:flex-direction: rowflex-wrap: nowrap
Applies toflex containers
Inheritedno
Computed valueas each of the properties of the shorthand:flex-direction: as specifiedflex-wrap: as specified
Animation typediscrete

Formal syntax

<'flex-direction'> || <'flex-wrap'>

Examples

Setting column-reverse and 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; } 

Specifications

Specification
CSS Flexible Box Layout Module Level 1 # flex-flow-property

See also

CSS Flexbox Guide: Basic Concepts of Flexbox CSS Flexbox Guide: Ordering flex items

Last modified: Aug 12, 2021, by MDN contributors

Select your preferred language English (US)DeutschEspañolFrançais日本語한국어Português (do Brasil)Русский中文 (简体) Change language

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Categories in CSS
css
Search CSS
Search CSS by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote

minecraft
Random CSS Property

skewY()

The skewY() CSS function defines a transformation that skews an element in the vertical direction on the 2D plane. Its result is a <transform-function> data type.
skewY() css reference