Languages

CSS - what is flex-flow property?

3 points
Asked by:
Wesley
201

What is the flex-flow property in CSS?

1 answer
3 points
Answered by:
Wesley
201

Working with flexbox in CSS you can specify the properties such as:

  • flex-direction - defines the direction flex items are placed in the flex container,
  • flex-wrap - specifies if items can wrap onto multiple lines.

The flex-flow property is a shorthand for this two.

Example:

.container {
  display: flex;
  flex-flow: column wrap;
}

is equivalent to:

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

See also

0 comments Add comment
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join