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