An elegant layout method for a more civilized age. Flexbox is a new layout mode in CSS3. The previous version of CSS defined four layout modes: block layout for laying out documents inline layout for laying out text table layout for laying 2D tabular data positioned layout for explicit positioning