CSS: Multi-Column Layout for Text Flow

By Xah Lee. Date: . Last updated: .

Here's a example of multi-column layout.

css multi-columns layout 2014-08-04
CSS multi-columns layout

To have multi-columns, use the attribute column-count: n, where n is the number of columns.

div.xyz {column-count: 3}

Test here: CSS Multi-Columns Test Page.

As of , It is supported by Chrome, Firefox, Safari, Edge, Internet Explorer 10.



Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

Ask me question on patreon