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 CSS Flexbox Layout Building a Layout with Flexbox Creating a Three Column Layout with Flexbox

Flexbox - Difference Between flex-basis and flex-grow

I'm slightly confused on the difference between flex-grow, flex-basis and the flex shorthand.

Why does Guil set .col to a flex-basis of 0 in order to create 3 columns? I'm finding flexbox really difficult to understand and would love someone to explain in detail further.

Thank you!

1 Answer

Steven Parker
Steven Parker
228,978 Points

Perhaps the best thing I can do to help is point you to a couple of additional fun (and free) learning resources for flexbox that I found very useful and you might enjoy: