Reputation: 1293
The CSS3 property 'columns' is a shorthand for column-count or column-width. I use the simplest example here on jsfiddle. But it doesn't work. Why?
.col {
border: 1px solid;
columns:2;
}
Upvotes: 1
Views: 295
Reputation: 6171
According to http://html5please.com/ only IE10+ and Opera support this without vendor prefixes. This works http://jsfiddle.net/jPmLS/.
.col {
border: 1px solid;
-webkit-columns:2;
-moz-columns:2;
columns:2;
}
Upvotes: 2