I have a container with 3 items in a row. The items are less wide than the container it sits in. I want the three items to fill out the container.
This is because when I downscale my browser width I'd like the items to jump to 2 or 1 whenever the container can't fit them anymore.
So in short:
3 items of 200px next to eachother in a 660px container. The middle div should mimic margin: 0 30px;
. But I don't want to put a margin on every 2nd item, because when the browser width becomes smaller there will be 2 or even 1 items in a row.
This seems to be what you want