Introduction

This is an example that shows how content can be made to flow between multiple regions. The image is displayed in box 'A'. The 'article' is flowed from region '1', to region '2', to region '3' and finally to region '4'. Note how the content that is laid out in 'region 1' can be subject to a different style.

More Details

This illustrates some of the features of CSS Regions. First, the ability to associate a flow of content to a set of regions and effectively getting that content to be threaded from one region to the next.

Then, the example illustrates the concept of 'region styling', where the content that falls into a specific region is subject to additional style rule, in the same spirit as inline content falling in the 'first line' can be subject to additional styling as defined by the ::first-line pseudo element selector.

Finally, this initial example shows that the concept of region is orthogonal to the layout of regions. This means that regions can be created and positioned using existing CSS and HTML layout (such as multi-column, flex box or grid layout). The CSS Regions specification defines how these regions can be the recipients of a 'named flow'.