In a small experiment I tried to replace the default bullets in a list by custom ones using a ::before
pseudo-element. This works in both Chrome 50 as well as Firefox 46.
But when I try to combine that with column-count
it breaks in Chrome. Firefox, however, displays like I intended it.
So is this a bug in Chrome (respective Blink) I should report or did I miss something here and Firefox is just able to deal with my crappy code?
ul#test {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}
li {
list-style-type: none;
}
li::before {
content: '*';
width: 0.7em;
height: 0.7em;
margin-right: -0.7em;
display: inline-block;
position: relative;
left: -1em;
background-color: blue;
}
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
</ul>
<ul id="test">
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
</ul>