- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 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.
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!!
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.
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..
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.
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!