HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Let the h2 element span across all columns
The columnSpan property specifies how many columns an element should span across.
Property | |||||
---|---|---|---|---|---|
columnSpan | 50.0 | 10.0 | 71.0 | 10.0 | 37.0 |
Return the columnSpan property:
Set the columnSpan property:
Value | Description |
---|---|
1 | Default value. The element should span across one column |
all | The element should span across all columns |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
Default Value: | 1 |
---|---|
Return Value: | A String, representing the column-span property of an element |
CSS Version | CSS3 |
CSS3 tutorial: CSS3 Multiple Columns
CSS reference: column-span property