A
A
Alexander Verbitsky2021-04-08 14:19:08
css
Alexander Verbitsky, 2021-04-08 14:19:08

flexbox. Is it possible to arrange the blocks like this?

Tell me, is it possible using flex to arrange blocks as follows?
Moreover, blocks 1 and 3 should not be combined in one block.
When shrinking the screen, block 2 should be placed under block 1, and 3 at the very bottom
, i.e. you need to have three "divs" in a row so that you can change their location through "order"

<div class="block1">1</div>
<div class="block2">2</div>
<div class="block3">3</div>

No matter how I tried to do it, block 1 always turns out to be equal in height to block 2, and the third one from the bottom...
606ee54a51f19017122149.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
StiflerProger, 2021-04-08
@StiflerProger

Sorry that styles and classes are not thrown. But the basic principle seems to fit.
https://jsfiddle.net/tqev98gw/16/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question