Forums

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

Home Forums CSS posts doesnt stack right under another..

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #257081
    eclip-se
    Participant

    guys, i’m learning and trying to replicate http://spacema-studio.com/lina/
    my version: http://www.michalmacko.com i can’t figure out why my articles doesnt stock that way, anyone plase?

    thanks!!

    #257108
    JeroenR
    Participant

    The effect of spacema-studio is done with masonry, like here: https://masonry.desandro.com/
    I see no javascript in your page, so that is the reason why your articles behave in a different way.

    #257112
    eclip-se
    Participant

    Thanks JeroenR, i thought they would stack on each other, because that’s what block-level elements do, but there is huge gap and i couldn’t understand why.. gotta play more wih floats and block-level elements..

    #257113
    webinuse
    Participant

    If I were you, I wouldn’t do that. Maybe through nth-of-type and absolute positioning and a lot of sweat it is achievable. I would listen to JeroenR, use JavaScript and don’t worry. You have tones of plugins for masonry grid, so you don’t have to bother about writing or finding JavaScript.

    #257114
    eclip-se
    Participant

    haven’t learned a bit of javascript yet :/ wanted good understanding of html/css before, maybe it’s time to jump into javascript. Thanks korovjov!

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