CSS column-span property

Description

CSS column-span property decides whether an element should span the columns or not. We are applying this property to heading present in the content.

Syntax

column-span : none | all

Property values

noneDefault

The element does not span any column and becomes a part of a column.

column-span: none;

all

all value allows an element to span all the columns of the nearest parent element.

column-span: all;

Applicable to

It applies to multi-column container.

#CSS digger
Was this article helpful?

 
CSS column-span property decides whether an element should span the columns or not

column-count

column-count distributes the content among those columns
×

Ctrl+D