So i need divs to align horizontally and fill blank spaces left in previous row's like so:

Can this be achieved?
There's no way of doing this automatically with pure CSS, but Javascript can help you. There is a good library called Masonry which does exactly what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With