css-grid-classes Flashcards
1
Q
Why do two div elements “vertically stack” on one another by default?
A
Because they are block-level elements.
2
Q
What is the default flex-direction of an element with display: flex?
A
Row.
c1120 > css-grid-classes > Flashcards
Why do two div elements “vertically stack” on one another by default?
Because they are block-level elements.
What is the default flex-direction of an element with display: flex?
Row.