germanysbestkeptsecret / Wookmark-jQuery

A jQuery plugin to create a dynamic, multi-column layout.
MIT License
2.63k stars 759 forks source link

A way to fill container completely (justify content)? #152

Open javinladish opened 10 years ago

javinladish commented 10 years ago

I was wondering if there is an easy way to fill a Wookmark container's width completely?

For example, if the container is set to a max-width of 920px. I want the first object in the row to be floated left, and the last object in the row to be floated right. All objects in between will have equal space between them.

Is this possible?

Edit; I did find this (Justified Version of Wookmark): https://gist.github.com/anonymous/1827897

Unfortunately, it doesn't seem to be working 100% for me.

The effect I am going for can be seen here: http://javinladish.com/code/index.html (Note: This effect uses Flexbox and only works correctly in Chrome) I'm trying to come up with a more cross-browser solution by using Wookmark.

Sebobo commented 10 years ago

Hi,

no that's currently not possible and would have to be implemented similar to your gist.

Regards, Sebastian