为什么当我将ul
分成两列时,它会失去子弹?
HTML:
<ul class="with-columns">
<li>Ringo
<li>George
<li>John
<li>Paul
</ul>
CSS:
ul.with-columns{
-moz-columns: 2;
-webkit-columns: 2;
-o-columns: 2;
columns: 2;
list-style-type:circle; /* Not works! */
}
答案 0 :(得分:10)
答案 1 :(得分:3)
只需在list-style-position: inside;
css
ul.with-columns
即可