Lets say I have some list items:
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
<li>Item 6</li>
<li>Item 7</li>
</ul>
By default, they are just below each other like this:
- Item 1
- Item 2
- Item 3
- Item 4
- Item 5
- Item 6
- Item 7
But what can I do if I want the ul to have a fixed height, and the items inside should flow in columns like on this picture:
The width of the different items should be flexible, so if an item gets bigger, the column should also get bigger:
It seems like a simple use case - but I tried with floats, flex (with wrap), but I cant find any really working solution.
Any ideas?

