If I use display:flex
in a ul>li
structure, all items will be squeezed in a single line. I would like to know if it is possible to determine the limit per line, such as three for example ..
I can do with float:left
, but I'd like to use flexbox
..
Ex: Determine that three LI's per line will appear
<ul>
<li>item</li>
<li>item</li>
<li>item</li>
<li>item</li>
<li>item</li>
</ul>