Is it possible to use pure CSS to pack a container of elements as tightly as possible? I have a list of music artists with different length names in a scroll container and I want to try and arrange them such that they pack nicely and minimise the horizontal space either side of them.
Was wondering if this is something that could be done with CSS grid, perhaps? I played around with grid-auto-flow but having made any headway