复合属性:设置对象的列数和每列的宽度。
/*列数及列宽固定*/
-moz-columns: 200px 3;
-webkit-columns: 200px 3;
columns: 200px 3;
/*列宽固定,根据容器宽度液态分布列数*/
-moz-columns: 200px;
-webkit-columns: 200px;
columns: 200px;
设置对象的宽度;使用像素表示。
/*列宽固定,根据容器宽度液态分布列数*/
-moz-column-width: 200px;
-webkit-column-width: 200px;
column-width: 200px;
用来定义对象中的列数,使用数字 1-10表示。
/*列数固定,根据容器宽度液态分布列宽*/
-moz-column-count: 5;
-webkit-column-count: 5;
column-count: 5;
设置列之间的像素差距。
/* 固定列间隙为40px */
-moz-column-gap: 40px;
-webkit-column-gap: 40px;
column-gap: 40px;
/* 列间隙column-gap: normal;font-size为14px时,列间隙column-gap:normal的计算值也为14px */
-moz-column-gap: normal;
-webkit-column-gap: normal;
column-gap: normal;
复合属性:设置对象的列与列之间的边框。
注:column-rule与border同理,这三个属性里,除style不能省略,width和color都可以省略其中之一或都省略,浏览器会使用默认的width或color。
/* 在列与列之间设置绿色间隔线 */
-moz-column-rule: 10px solid #090;
-webkit-column-rule: 10px solid #090;
column-rule: 10px solid #090;
设置或检索对象元素是否横跨所有列。
注:火狐浏览器不支持;
设置对象所有列的高度是否统一。
注:主流浏览器都不支持 column-fill 属性。
设置对象之前是否断行。
设置对象之后是否断行。
设置对象内部是否断行。
Internet Explorer 10+ 和 Opera 支持 column-width 属性。
Firefox 支持替代的 -moz-column-width 属性。
Safari 和 Chrome 支持替代的 -webkit-column-width 属性。
注:Internet Explorer 9 以及更早版本的浏览器不支持 column-width 属性。

测试
111
222
333
444
555

测试
列数及列宽固定:
It’s a normal afternoon, sunshine through the window, lazily sprinkled on the desktop. I opened the book Little Prince, in the meantime opening a magical world of tender love.
Little Prince chiefly tells of a story concerning a lonely prince who is loyal but contrary to love. On the one hand, he overly falls in love with a rose in his planet by reason that her fragrance and beauty are notably charming. On the other hand, conversely, he is too young to know how to love the proud flower. Accordingly, he eventually leaves his rose with tears in eyes. Nevertheless, the pain of separation has long concerned him during his travel along massive planets. In the course of reading the book, I gradually understood the meaning of mature love.
列宽固定,根据容器宽度液态分布列数:
First and foremost, what mature love is like: mature love must be reasonable, consistent and candid. Immature love can be disturbing. What invariably occurs is that lovers often feel hurt only because they are improperly loving each other. Immature love makes them inconsistent, or even unreasonable. For instance, it’s immature love that makes the rose pretend to be strong so as to avoid being caught crying when they separate from each other; it’s immature love that makes little prince determined to leave the rose.
Additionally, immature love makes both little prince and the rose contrary. Little prince is confessional because he ought never to run away from the rose but he does. The rose confides it’s her fault that little prince has not known her love all the while.