Web - Flex Container and Items
Code Life
By Pierre Marsaa
Introduction to Flexbox
Flexbox (Flexible Box Layout) is a CSS layout model that makes it easier to design flexible responsive layouts. It helps you arrange elements in a predictable way, especially when their size is unknown or dynamic.
Flexbox works with two main concepts:
1.
Flex Container - The parent element with display: flex applied
2.
Flex Items - The direct children of the flex container
Verify