/

HTML / CSS / JavaScript Tutorial

CSS Property: column-gap

[this page | pdf | back links]

The CSS (CSS3) column-gap property specifies what gap is placed between columns of an element. Any column rule between columns will appear in the middle of the gap.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

length

A CSS length

normal

(default value). Specifies normal gap between columns (W3C suggests 1em)

 

Default Value:

normal

JavaScript syntax:

e.g. object.style.columnGap="20px"

Inherited:

No

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile