css-grid-classes Flashcards

1
Q

Why do two div elements “vertically stack” on one another by default?

A

because div elements are block elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the default flex-direction of an element with display: flex?

A

row, left to right

How well did you know this?
1
Not at all
2
3
4
5
Perfectly