Styling flex-containers (parent elements) as display: flex; makes their width and height responsive to the viewport size.
display: flex;flex-direction: row (or column or add -reverse to either)flexwrap: wrap; (or nowrap or wrap-reverse)flex-flow is a combination of both wrap and -directionjustify-contentalign-itemsalign-selforder