- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi!
I’d like to achieve this kind of layout :
http://i.stack.imgur.com/Xwdx0.png
But I don’t want to have a column based pattern. The gallery will be dynamically generated from left to right.
Is it possible to do this with pure css? If it’s not, do you know any jquery script that could do the same for me?
I guess this pattern is common on websites, so…
Not possible with CSS alone. You’ll want to use something like Masonry: http://masonry.desandro.com/
Amazing! Thanks!
@TheDoc Isn’t this what Chris achieved with just CSS on the Gallery page?
He’s using CSS columns, which the OP explicitly stated he doesn’t want.
@TheDoc Ah, okay. Was just curious. Thanks for pointing that out as I completely misread that entirely.