Pinterest Style Layout with CSS, but stacked horizontally instead of vertically
<p>I'm trying to create a pinterest style layout without using Packery or any JS. I've tried using CSS3 columns, but they stack vertically.</p>

<p>See the fiddle here , 
<a href="https://jsfiddle.net/2otpzbgt/1/" rel="noreferrer">https://jsfiddle.net/2otpzbgt/1/</a></p>

<pre><code>column-count: 3;
</code></pre>

<p>is what I've used and the cards are appearing as 1, 6, 11 and so on. Is it possible to display as 1, 2, 3??</p>

<p>The purpose I'm trying to solve is a grid layout with dynamic content where images sizes (height) will vary (similar to pinterest), but packery can arrange only if height of the image is known before hand. I'm lazy loading images and fetching cards as you scroll.</p>

<p>Thanks!</p>