Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Thumbnails gallery layout

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #156830
    Canapin
    Participant

    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…

    #156833
    TheDoc
    Member

    Not possible with CSS alone. You’ll want to use something like Masonry: http://masonry.desandro.com/

    #156837
    Canapin
    Participant

    Amazing! Thanks!

    #156838
    chrisburton
    Participant

    @TheDoc Isn’t this what Chris achieved with just CSS on the Gallery page?

    #156839
    TheDoc
    Member

    He’s using CSS columns, which the OP explicitly stated he doesn’t want.

    #156844
    chrisburton
    Participant

    @TheDoc Ah, okay. Was just curious. Thanks for pointing that out as I completely misread that entirely.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.