css-layout-classes Flashcards
1
Q
Why do two div elements “vertically stack” on one another by default?
A
they display block by default
2
Q
What is the default flex direction of an element with display: flex?
A
row
LFZ Web Dev 08/22 > css-layout-classes > Flashcards
Why do two div elements “vertically stack” on one another by default?
they display block by default
What is the default flex direction of an element with display: flex?
row