The column-span property allows us to define how many columns and element will span across.
Syntax:
selector {
column-span: 1 | all | initial | inherit;
}
Values:
Possible values for column-span property are:
- 1; This is the default value and it simply makes element span across 1 column.
- all; The element spans across all columns.
- initial, inherit
Example
The column-span property used for a heading in a newspaper:
Comments
No comments have been made yet.
Please login to leave a comment. Login now