Skip to main content

Split Lists into Columns Using CSS

The HTML list element is used to create a list of items. Each item in the list is represented by an <li> element. The list can be displayed as a simple bulleted list, or it can be styled using CSS to create more complex layouts. CSS gives you the ability to split lists into columns, which is perfect for creating more appealing and organized content.

ul {
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -webkit-column-count: 2;
    -webkit-column-gap: 10px;
    column-count: 2;
    column-gap: 10px;

By continuing to use the site, you agree to the use of cookies.