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>
	<li>Java</li>
	<li>GoGitHub</li>
	<li>HTML5</li>
	<li>CSS</li>
	<li>jQuery</li>
	<li>React</li>
	<li>NextJS</li>
	<li>AngularJS</li>
	<li>Vue.js</li>
	<li>Node.js</li>
	<li>Backbone.js</li>
	<li>PHP</li>
	<li>Python</li>
	<li>Rails</li>
	<li>Go</li>
</ul>
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.