htmlcss

The CSS column-span property describes how many columns an element spans across. It was introduced in CSS3 and only CSS3-compatible browsers support this property (like Firefox 4.0 and IE9).

Values

Value Description
all The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appears.
1 The element does not span multiple columns.


CSS example:

body {
      column-count:3;
}

h2 { 
    column-span:all; 
    background:silver; 
}


Image example:

Column-span Example

External Links