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...

You could also follow me on twitter. I have a couple of youtube channels if you want to see some video related content. RuneScape 3, Minecraft and also a coding channel here Web Dev.

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
I believe that success can be measured in the number of uncomfortable conversations you're willing to have.
Unknown
Random CSS Property

border-radius

The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
border-radius css reference