Grid layout - make last item span to the last column
I was thinking if there was a way to make dynamically the last element in a given grid to span to the last column of at the end there are some empty slots.
I know that using
But this only works when we know x but now we don't know x.
I also thought of using
But this one moves the element to the end without spanning it allover.
Is there a way to do this for grid element like with flex-grow:1 for flex elements.
I know that using
But this only works when we know x but now we don't know x.
I also thought of using
But this one moves the element to the end without spanning it allover.
Is there a way to do this for grid element like with flex-grow:1 for flex elements.
