D
D
Denis Bukreev2016-06-30 10:31:52
css
Denis Bukreev, 2016-06-30 10:31:52

Is it possible to make elements in portrait orientation on flex?

So it goes.
9f00deabbd224587b11a83acdc9b7da4.png
I'm trying to wrap up this designer's outburst.
4 columns, content is distributed first from top to bottom, then from left to right.
columnsare not suitable, since the contents of the blocks should not be transferred, but transfer columnseverything to the mess.
Distributing the script across 4 columns is also not an option.
And then I remembered about flexbox
Is it possible to implement this on it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
ArturArturov, 2016-06-30
@denisbookreev

display:flex;
flex-wrap: wrap;
flex-direction: column;
max-height: 1000px

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question