css-flexbox Flashcards
1
Q
What is the default flex-direction of a flex container?
A
The default flex-direction of a flex container is row. Flex items inside the container will attempt to align along the horizontal axis.
2
Q
What is the default flex-wrap of a flex container?
A
The default flex-wrap of a flex container is nowrap. This means that the flex items within the container will attempt to line up on the row/horizontal axis without creating a second row, even if the content is too large to fit on that single row.