column-list 可以很好地工作,而不是自动换行。
<fieldset>
<ul>
<li><a href="#">foo</a> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</li>
<li>bbbbbb</li>
<li>ccccccc</li>
<li>aaaaaaaa</li>
<li><a href="#">foo</a>aaaaaaaa</li>
<li>aaaaaaaa</li>
<li>aaaaaaaa</li>
</ul>
</fieldset>
ul {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}
ul li{
word-wrap: break-word;
}
测试:http: //jsfiddle.net/jbe07sbs/1/
在 Chrome 中测试 39.0.2171.71 m