CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS columns Property

CSS columns Property

 

 

The columns property is a shorthand property for:-

  1. column-width
  2. column-count

The column-width part is used to define the minimum width for each column. The column-count part is used to define the maximum number of columns.

 

For your Information:-

 

By using both of these properties, we can create multiple columns. Its default value is auto auto.

 

Syntax:-

 

Its syntax is:- columns: auto | column-width column-count | initial | inherit;

 

Further Explanation:-

 

Value Description
auto Sets both the column-width and column-count to auto.
column-width Defines the minimum width for each column.
column-count Defines the maximum number of columns.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS