CSS Multiple Columns
The columns property in CSS is used to specify the number of columns and their width. This is a shorthand property that can accept multiple values at the same time.
- column-count
- column-gap
- column-rule-style
- column-rule-width
- column-rule-color
- column-rule
- column-span
- column-width
1. column-count
In CSS, the column-count property is used to divide a portion of content within any HTML element into a specified number of columns.
2. column-gap
In CSS, the column-gap property specifies the amount of space between the columns into which a given text is divided using the column-count property.
3. column-rule-style
In CSS, the column-rule-style property is used to specify the style of the column rule that appears between columns on a multi-column layout.
4. column-rule-width
In CSS, the column-rule-width property is used to change the width of the column rule, which is the vertical lines between the columns.
5. column-rule-color
CSS's column-rule-color property is used to change the color of the rule that runs between the columns.
6. column-rule-style
In CSS, the column-rule-width property is used to change the width of the column rule, which is the vertical lines between the columns.
7. column-span
In CSS's column-span property specifies how many columns an element can span across. It can have a value of none | all | initial | inherit.
8. column-width
In CSS, the columns-width property is used to specify the width of the columns. To display the content across the element, the bare minimum of columns is required. It is a versatile property. If the browser cannot fit at least two columns at the specified column width, the two columns will be combined into a single column.