Answer the question
In order to leave comments, you need to log in
Block layout, is it possible to do this?
Is it possible to achieve such an arrangement of blocks using flex (as in the screenshot), with such a markup?
<div class="container">
<div class="block b"></div>
<div class="block b1"></div>
<div class="block b2"></div>
</div>
Answer the question
In order to leave comments, you need to log in
Something like this: codepen.io/anon/pen/VjdxGy
Only doing it with flex is rather strange, float is more in place here.
Still, I think, it is necessary to clarify the conditions of the problem, dimensions, adaptability, etc.
You can also do this with float. The blue block is float:left and the other two are float:right.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question