css flexbox Flashcards

1
Q

What does display : flex

A

it makes elements into the same row

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

row-reverse

A

reverses the order of elements

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

align-items

A

flex-start: aligns items to the start of the flex container. For rows, this aligns items to the top of the container. For columns, this aligns items to the left of the container.

flex-end: aligns items to the end of the flex container. For rows, this aligns items to the bottom of the container. For columns, this aligns items to the right of the container.

center: align items to the center. For rows, this vertically aligns items (equal space above and below the items). For columns, this horizontally aligns them (equal space to the left and right of the items).
stretch: stretch the items to fill the flex container. For example, rows items are stretched to fill the flex container top-to-bottom. This is the default value if no align-items value is specified.
baseline: align items to their baselines. Baseline is a text concept, think of it as the line that the letters sit on.

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

flex-shrink:

A

shrinks the width of the specified element

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

flex-grow:

A

makes the specified element grow its width.

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