Flexbox provides a consistent layout on different screen sizes. It uses flexDirection,alignItems, and justifyContent to achieve the right layout.
consistent layout on different screen sizes
flexDirection
alignItems
justifyContent
column
row
center
flex-start
flex-end
space-around
space-between
stretched