CSS Flexbox **flex-wrap** fix last item

HTML
<ul> <li>1</li> <li>2</li> <li>3</li> </ul>
CSS
ul { display:flex; flex-wrap:wrap; } li { border: 1px solid red; flex: 1 1 300px; } ul::after { content: ''; flex-grow: 1000000000; }
JAVASCRIPT
Expand for more options Login