CSS - Multiple Columns

CSS Multiple Columns

In this tutorial, I will be showing you every thing you need to know about making multiple columns of text or block of text on your webpage (just like a newspaper)

Multiple Column Properties

column-count used to specify the number of columns the element should be divided into.

column-gap used to specify the spacing between each column

column-rule-style used to specify the type of line style between the columns. For example: solid, dashed, inset, double, etc

column-rule-width used to specify the thickness or thinness of the column-rule-style value.

column-rule-color used to specify the color of the column-rule-style.

column-rule shorthand property for specifying all the column-rule properties. Its syntax is as follows: column-rule: column-rule-width column-rule-style column-rule-color

column-span used to specify how the column should span.

column-width used to specify the width for the column.

columns shorthand property for specifying column width and column count. Its syntax is as follows: columns: column-width column-count

column-fill used to specify how columns are filled.

ADVERTISEMENTS

LEARNING IS A CONTINOUS PROCESS - PRACTICE MAKES PERFECT