You are here : cssCSS 3columns

columns - CSS 3

The columns property is a shorthand property for setting column-width and column-count.


Syntax

columns: auto|column-width column-count|initial|inherit;


Example

div
	{
	   
	-webkit-columns: 100px 3; /* Chrome, Safari, Opera */
	   
	-moz-columns: 100px 3; /* Firefox */   
	columns: 100px 3;		
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference