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
Split the text into three columns, minimum 100 pixels each
The columns property is a shorthand property for setting columnWidth and columnCount.
Property | |||||
---|---|---|---|---|---|
columns | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Return the columns property:
Set the columns property:
Value | Description |
---|---|
auto | Default value. Sets both the column width to "auto" and the column-count to "auto" |
columnWidth | The width of the columns |
columnCount | The number of 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: | auto auto |
---|---|
Return Value: | A String, representing the columns property of an element |
CSS Version | CSS3 |
CSS3 tutorial: CSS3 Multiple Columns
CSS reference: columns property