Quantcast
Viewing latest article 2
Browse Latest Browse All 3

Answer by Mr. Hugo for How to wrap lists after 5 element?

I would use CSS columns for this:

ul {columns: 2;}li {list-style-position: inside;}
<ul><li>Assertively mesh</li><li>client-centered</li><li>niches and covalent networks</li><li>Uniquely e-enable</li><li>team driven benefits</li><li>rather than exceptional</li><li>architectures Continually</li><li>foster cutting-edge</li><li>open-source core</li><li>process-centric</li></ul>

Note that 'display: grid' has pretty bad browser support, while columns (and flexbox) score better.


Viewing latest article 2
Browse Latest Browse All 3

Trending Articles