How to arrange the blocks in 2 columns?

You need to arrange the blocks of different heights in 2 columns:
5afb2b9f93c58810427403.jpeg
The sequence should be generated automatically from left to right, that would when dynamically adding new blocks, they became at once in these 2 columns. While adaptation in column 1, the sequence of blocks was normal.
Ie css properties column and flex not solve the problem.
June 5th 19 at 21:44
3 answers
June 5th 19 at 21:46
Solution
June 5th 19 at 21:48
Maybe I did not understand the question but the Flex like a normal handle https://codepen.io/anon/pen/LmJOMg
June 5th 19 at 21:50
https://jsfiddle.net/xpvt214o/180227/

dynamically adding items in col-1 or col-2

Find more questions by tags CSS