This tutorial Flex-flow explains that
flex-direction: row and flex-wrap: wrap
is the same as
flex-flow: row wrap
but since row is default and therefore you don’t have to specify it by writing
flex-flow: row wrap
to the rule where default is row should this be avoided and therefore type
flex-wrap: wrap
PaulOB
January 26, 2018, 8:12am
3
It’s shorter so use it:)
It addresses the value you want to change without changing anything else so is a better choice.
If flex direction was column then the first rule would have been better to revert back to row and also to wrap.
2 Likes
ronpat
January 26, 2018, 12:53pm
4
Stribor45:
should this be avoided
I apologize, Stribor45. I read that line as “this should be avoided” - as if it were a statement about flex-flow - instead of a question “should this be avoided”. A question mark at the end of the line might have helped, but I should have read more closely anyway. Sorry.
Thanks for reply and I appreciate you guys trying to help
system
Closed
April 27, 2018, 8:50pm
6
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.