CSS Flexbox Flashcards

1
Q

Flex grow: 0 vs. 1. What’s the difference?

A

0 means an element should not grow beyond its default size; 1 means it should grow to fit available space. Two items with flex-grow: 1 will grow at an equal rate.

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

Flex shrink 0 vs 1: what’s the difference?

A

0 means an element should not shrink at all beyond it’s default size; 1 means it should shrink at a rate equal to other items with flex-shrink: 1.

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

What is default for flex-direction?

A

row

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