This is an important message requiring you to make a choice if you're based in the EU.

CSS column-fill Property

The column-fill property controls the element’s content when it is divided into columns.

The column-fill property is one of the CSS3 properties.

The content can be balanced or filled sequentially. Thus, it has two values: balance and auto. "Balance" is the default value. Content is equally divided between columns. If columns are specified by the "auto" value, the content takes up the room it needs.

Initial Value balance
Applies to Multicol elements.
Inherited No.
Animatable No.
Version CSS3
DOM Syntax object.style.columnFill = "balance";


column-fill: auto | balance | balance-all |  initial | inherit;


<!DOCTYPE html>
    <title>Title of the document</title>
      .balance {
      column-count: 4;
      column-rule: 1px solid black;
      column-fill: balance;
  <h2>Column-fill property example</h2>
    <p class="balance">
      This is a bunch of text split into multiple
      columns. The CSS column-fill property is
      used to spread the contents evenly across
      all the columns.


Value Description
auto Sequentially fills the columns.
balance Equally divides the content between columns. In paged media, only the last page is balanced.
balance-all Equally divides the content between columns. In paged media, all pages are balanced.
initial Sets the property to its default value.
inherit Inherits the property from its parent element.

Browser support

50.0 + 12.0 + 52.0
+ 13 -moz-
? ?

Do you find this helpful?

Related articles