I've got a columns class that sets the number of CSS columns to three. This looks like the following:
.columns {
column-count:3;
-moz-column-count:3;
-webkit-column-count:3;
}
<ul class="columns">
<li>Apples</li>
<li>Grapes</li>
<li>Pears</li>
<li>Bananas</li>
</ul>
I'd like this to be displayed in the following format:
Apples Grapes Pears
Bananas
This can be seen on this fiddle: http://jsfiddle.net/fM8ce/1/
If I remove bananas then all three columns are used as expected and is outputted in the following way:
Apples Grapes Pears
This can be seen in this fiddle: http://jsfiddle.net/fM8ce/
How can I get four items to be distributed as expected, across three columns rather than 2?