Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Flexbox with Masonry

I don't know about anyone else but I would really like Guil Hernandez or Andrew Chalkley to do a course on using Flexbox with Masonry

2 Answers

Hi Wendell,

I'm think you meant to have flexbox and masonry the other way around as the current masonry JavaScript libraries aren't designed for flexbox layouts.

In the interim though have a look at the below link for a quick example of using flexbox to created an masonry layout.

http://demosthenes.info/blog/844/Easy-Masonry-Layout-With-Flexbox

I find the tutorial very vague and with no obvious connection to actually customizing Masonry containers. How do I change the order of elements in a Masonry container depending on the window size?