Z
Z
zwezew2017-10-05 08:22:25
css
zwezew, 2017-10-05 08:22:25

Is there a way to move a block in a flexbox under an adjacent flexbox?

jsfiddle.net
What is the point - is it possible to make the layout so that when the screen narrows, the gray block with the link is transferred under the red and green blocks (in one line) and stretched to full width? Those. to visually become two lines, in the upper red and green blocks, gray below them.
UPD: I made an implementation using float
Is this option correct and is it possible to make a similarly working version on flex?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Bulba, 2017-10-05
@Xserber

Em. Just make the wrap class flex-direction: column;

Z
zoozag, 2017-10-05
@zoozag

https://jsfiddle.net/qg2spb2m/
Right?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question