17
如何防止元素内的列中断?
考虑以下HTML: <div class='x'> <ul> <li>Number one</li> <li>Number two</li> <li>Number three</li> <li>Number four is a bit longer</li> <li>Number five</li> </ul> </div> 和以下CSS: .x { -moz-column-count: 3; column-count: 3; width: 30em; } 就目前而言,Firefox呈现的内容与以下类似: • Number one • Number three bit longer • Number two • Number four is a • Number five …