Flexbox Flashcards Preview

Frontend Developer Questions > Flexbox > Flashcards

Flashcards in Flexbox Deck (6)
Loading flashcards...
1
Q

what does flex direction do?

A

it changes the main axis of the the content

default is row, meaning the content goes from right to left

the other option is column which causes the content to be stack on top of each other top to bottom

2
Q

What does flex-wrap do?

A

decides whether the content will wrap when it hits the edge of the window

3
Q

how do you change the order of the flex items?

A

order: number

the lowest number comes first

4
Q

What does justify-content do?

A

determines how items will be aligned on the main axis

5
Q

What does align-items do?

A

determines how items will be aligned on the cross axis

6
Q

What is the default for flex-grow?

A

0