DEV Community

Discussion on: Flexbox Rocks!

Collapse
nibble profile image
Joseph Mawa

Very informative article. Isn't row the default value for flex-direction property?

Collapse
jamesncox profile image
James Cox Author

Ah. I see what/why you asked that. My bad!

So I thought for clarity sake it would be include flex-direction: row; even where it is the default property. But I think I will go back and update the article to explain that it is default and not required. Thank you for pointing that out!

Collapse
jamesncox profile image
James Cox Author

Thank you!

And yes! But I need to change the flex direction from column back to row in my media query. Otherwise they stay in a single column.