gilbitron / flexmasonry

A lightweight masonry (cascading grid layout) library powered by flexbox.
https://flexmasonry.now.sh
MIT License
429 stars 24 forks source link

gap function doesn't work ? #16

Closed TomasBalbinder closed 1 year ago

TomasBalbinder commented 1 year ago

Hello, I apologize, but I am trying to add a gap between objects but still doesn't work. is the gap created at all? Thank you so much

image

carlwafe commented 1 year ago

Put your pictures in a div container that has a few pixels padding, that should do the trick.

TomasBalbinder commented 1 year ago

I'm sorry, but I don't understand, I've tried almost everything

TomasBalbinder commented 1 year ago

image doesn't work or I don't understand sorry

TomasBalbinder commented 1 year ago

hi, solved I use parent div on element with padding.