CSS column-fill Property


The column-fill CSS property is used to control how content is distributed across multi-column layouts in a CSS-defined column container. It has two possible values: auto and balance. When set to auto, columns are filled sequentially from top to bottom, and content flows into the next column when the current one is filled. In contrast, when set to balance, the browser attempts to distribute content evenly across all columns, adjusting column heights to minimize the height difference between columns. This property is particularly useful for creating aesthetically pleasing, balanced column layouts in web design, optimizing readability and the overall visual presentation of text-heavy content.

Initial value
Applies to
Multi-column elements
Computed value
As specified
JavaScript syntax

Interactive Demo

The rusty swing set creaked a lonely lullaby in the twilight, shadows lengthening like grasping fingers across the dew-kissed grass. A lone dandelion seed, adrift on the breeze, whispered secrets of faraway fields, of dandelion suns and galaxies spun from fluff. Somewhere, beyond the veil of dusk, a coyote laughed, echoing through the stillness like a forgotten memory.


column-fill: auto | balance


  • autoColumns are filled sequentially such that the columns may differ in length, depending on other column property values.
  • balanceBalance content equally between columns, if possible.


<div class="book"> 
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
.book { 
   -webkit-columns: 3 200px; 
   -moz-columns: 3 200px; 
   columns: 3 200px; 
   -webkit-column-fill: balance-all; 
   -moz-column-fill: balance-all; 
   column-fill: balance-all; 

Browser Support

The following table will show you the current browser support for the CSS column-fill property.

Edge Chrome Firefox Opera Safari
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview

Last updated by CSSPortal on: 1st January 2024