4 ms·
I’m on mobile so I can’t verify this, but I think you might be able to accomplish what you want by using auto margins on the last child of the flex container? A
by jake-low 8y ago
I’m on mobile so I can’t verify this, but I think you might be able to accomplish what you want by using auto margins on the last child of the flex container? Auto margins have some really cool by-design interactions with flexbox. More info: https://hackernoon.com/flexbox-s-best-kept-secret-bd3d892826b6 https://hackernoon.com/flexbox-s-best-kept-secret-bd3d892826...