Flex-direction: column = don't do anything?

Hi everyone! :stuck_out_tongue_closed_eyes: :stuck_out_tongue_closed_eyes: :stuck_out_tongue_closed_eyes:
I have a question here. Why should we use flex-direction set to column when when we can just leave it naturally without flex to get the same result?
I mean just leave it without “display: flex” it will be set automatically into column right?
Thank you :sunglasses:

@tzabroke The default “display: flex” will set the direction to row. If you remove the “flex-direction: column” line in one of your projects it will switch to a row layout. I often set flex-direction to column to start out because I design mobile first. Once the page is displayed on a desktop I will use a media query to change “flex-direction: column” to “flex-direction: row”.

1 Like