Change order of elements to horizontal instead of vertical with CSS Columns

Hi,
I used the example of Coding2Go (nr 2 in this video) to create a masonry layout using CSS Columns. But Columns distributes the items first in column 1, then column 2, then column 3. What I would like is that the elements are distributed from left to right and then top to bottom.

https://www.youtube.com/watch?v=44FTAS-qT8Q
YouTubeCoding2GO
šŸ˜Ž Become a Member to Support our Channel: https://www.youtube.com/channel/UCGpoeEhUBQBaaKZ_a8HB67Q/join

šŸ‘‰ Get our HTML & CSS Course on Udemy: https://www.udemy.com/course/learn-html-and-css-in-7-days-web-developer-bootcamp/?referralCode=8054BF2C4D86FC75DB00

In this video you will learn 10 CSS Tricks for Beginners and Advanced Developers that w...
10 CSS PRO Tips and Tricks you NEED to know
Was this page helpful?