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 Unused CSS Stages Flexbox and Multi-Column Layout Flexbox: Part 2

Bruce Vogel
Bruce Vogel
6,888 Points

-webkit-flex is not working in my css. I am using Safari as a browser. All of the flex items stay the same length.

boxes in the class .nav (from part 1) are stacked vertically as are the columns.

3 Answers

Bruce Vogel
Bruce Vogel
6,888 Points

It appears to be a browser issue. When I use Chrome, everything works as it's supposed to.

Can you post your code so we can see it? Try using CodePen.

Bruce Vogel
Bruce Vogel
6,888 Points

Here is the css from the working lesson file:

.nav, .main { display: -webkit-flex; }

.nav { -webkit-flex-direction: row; -webkit-justify-content: space-between; -webkit-flex-wrap: wrap; }

I also loaded the final files from the lesson into Workspaces and got the same result.