Skip to content

Instantly share code, notes, and snippets.

@pmeissner
Created May 28, 2014 18:56
Show Gist options
  • Save pmeissner/995f6eb5a73a53359564 to your computer and use it in GitHub Desktop.
Save pmeissner/995f6eb5a73a53359564 to your computer and use it in GitHub Desktop.
packery
Foundation.utils.image_loaded($('.half-left .blocks img'), function(){
$halfLeftBlocks.packery({
columnWidth: '.half-left .block-sizer',
itemSelector: '.block',
"isOriginLeft": false
});
});
@pmeissner
Copy link
Author

                    .blocks
                        .block-sizer
                        .block.w4: img(src="img/06.jpg")
                        .block.w3: img(src="img/08.jpg")
                        .block.w4: img(src="img/07.jpg")
                        .block.w4: img(src="img/20.jpg")
                        .block.w2: img(src="img/76.jpg")
                        .block.w2: img(src="img/77.jpg")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment