Back to Developer Roadmap

Flexbox Layout

src/data/question-groups/frontend/content/flexbox-layout.md

4.0273 B
Original Source

To create a flexbox layout, you have to take care of 2 main steps:

  1. Set up the container element by applying the “display:flexbox” CSS property to it.
  2. Set up the flexbox properties for each element inside the container (something like “flex:1” would suffice).