I am trying to achieve the following:
My first attempt was to use a helper div (green):
What I could do here, is using JavaScript to move the puple and orange elements out of the helper on mobile screens. But there has to be a plain css way.
My second attempt was to remove the helper and build the Mobile Layout:
Is there a way to place two elements on top of each other in flex-direction: row
? (second attempt)