如果我有一个如下列表:
@H_301_2@<ul>
<li>Alex</li>
<li>James</li>
<li>Thomas</li>
<li>Is</li>
<li>Asking</li>
<li>Questions</li>
<li>On</li>
<li>Stackoverflow</li>
</ul>
默认显示如下:
@H_301_2@* Alex * James * Thomas * Is * Asking * Questions * On * Stackoverflow我将使用什么CSS来显示它:
@H_301_2@* Alex * Questions * James * On * Thomas * Stackoverflow * Is * Asking提前致谢…
解决方法
对于现代浏览器
@H_301_2@ul{
-ms-column-count: 2;
-o-column-count: 2;
-moz-column-count: 2;
-khtml-column-count: 2;
column-count: 2;
}