07 - CSS Grid Classes Flashcards
1
Q
Why do two div elements “vertically stack” on one another by default?
A
Because it’s a display block.
2
Q
What is the default flex-direction of an element with display: flex?
A
row
Why do two div elements “vertically stack” on one another by default?
Because it’s a display block.
What is the default flex-direction of an element with display: flex?
row