Prep Flexbox Basics Flashcards
What is the default flex-direction of a flex container?
row from left to right
What is the default flex-wrap of a flex container?
flex-wrap: nowrap
PARENT
What is one of the uses of Flexbox?
Layout to arrange items in rows or columns and items will flex (grow or shrink) to fit available space
What are the three primary parts of a layout system?
Container
Row
Column
justify-content
spacing and placement of content on PRIMARY AXIS
PARENT
align-items
basically justify-content on cross axis (secondary axis)
PARENT
align-content
justifies content on multiple wrapped lines on cross-axis;
does not work on single line
PARENT
Why do two div elements “vertically stack” on one another by default?
it is their default display property
What is the default flex-direction of an element with display: flex?
row