Browsing index pages (3 articles)
↧
How to wrap lists after 5 element?
We have an unordered list that will display up to 10 items. How can we setup the list so that it will place the first five items on the left and put the next five items into the next column (splitting...
View ArticleAnswer 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...
View ArticleAnswer by David Thomas for How to wrap lists after 5 element?
To arrange content into predictable columns, each of five items, would seem to be a job for display: grid:ul { /* set the layout to grid: */ display: grid; /* define the number of rows you require: */...
View Article
Browsing index pages (3 articles)