Web Platform Atlas
ENRUUA⚡DE⚡FR⚡ES⚡PL⚡PT⚡ZH⚡JA⚡
Catalog / CSS Flexible Box Layout Module Level 1 / Introduction

1 Introduction

Static preview (EN): for MDN, WPT, glossary and BYOK translation open the interactive Atlas.
⚡ Open chapter in Atlas

1. Introduction

This section is not normative.

CSS 2.1 defined four layout modes — algorithms which determine the size and position of boxes based on their relationships with their sibling and ancestor boxes:

block layout, designed for laying out documents

inline layout, designed for laying out text

table layout, designed for laying out 2D data in a tabular format

positioned layout, designed for very explicit positioning without much regard for other elements in the document

This module introduces a new layout mode, flex layout, which is designed for laying out more complex applications and webpages.