Can we use flex-flow with a single value?


#1

Question

Can we use flex-flow with a single value?

Answer

We can! flex-flow uses the following values:

  • flex-direction values including: row, column, row-reverse, column-reverse
  • flex-wrap values including: nowrap, wrap, wrap-reverse
  • flex-direction and flex-wrap values in a single line, no matter the order, for example: flex-flow: row wrap; or flex-flow: wrap row;