CSS Flexbox & Layouts Flashcards
1
Q
What is the default flex-direction of a flex container?
A
Row
2
Q
What is the default flex-wrap of a flex container?
A
Nowrap
3
Q
What is the default flex-direction of an element with display: flex?
A
Row
4
Q
What are the three primary components of a page layout? (Which helper classes do you need?)
A
Container, rows, and columns
5
Q
What is the minimum number of columns that you should put in a row?
A
1
6
Q
What is the purpose of a container?
A
Enclose elements like text, images, and videos.