I'd like to build a Grid with Flexbox that contains 2 Objects per row. These Objects should be centered along a vertical coloumn and have different widths (as on the picture). Does anyone have an Idea how to approach it?
I'd like to use flexbox to be able to swith on to 1 Object per row and keep the correct order. Otherwise I would have nested divs and alligned the objects with
left:0;
or
right:0;
but then I wouldn't be able to keep the order on mobile. Is there any way to achieve this?