css-layout-classes Flashcards

1
Q

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

A

block level 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

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

What are the three primary components of a page layout? (Which helper classes do you need?)

A

container, column, row

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

What is the minimum number of columns that you should put in a row?

A

1

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

What is the purpose of a container?

A

They are used to place content together with same font-color, background-color, font-size, font-family,

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