Answer the question
In order to leave comments, you need to log in
How to make content in 2 columns?
How to make flexbox so that one column stretches 100% and wraps around other boxes?
Answer the question
In order to leave comments, you need to log in
As for wrapping, you can give the first block a flex-basis of 100%, it will occupy the entire length of the axis
. Main ideas:
.wrapper { /*родителю*/
height: 40vw; /*фикс высота*/
flex-direction: column; /*флекс колонками*/
flex-wrap: wrap;
}
.block{ /*внутренние блоки*/
flex-basis: 33.3%;
}
.block:first-child{ /*первый 100%*/
flex-basis: 100%;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question