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 Flexbox Properties Wrapping Flex Items

Flex-Wrap doesn't work on Google Chrome

Just following along with the video, and I've personally downloaded the Project Files and work on Sublime Text, and run Google Chrome to test the changes. I just noticed that flex-wrap doesn't do anything on Google Chrome, but when I opened the .html file in Firefox it worked fine. With a further inspection, I noticed that opening the .html file in Internet Explorer, display: flex; didn't make any difference at all with IE.

So my question essentially is, is Flexbox outdated already and no longer works?

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

According to caniuse.com, flexbox is supported in Chrome, not so much in IE (but then again, what is supported in IE? Lol :)

:dizzy:

I don't know what the issue turned out to be, but I ended up adding some additional Items and it started working fine then. I removed the additional items, and it carried on working. Probably a cache issue. My mistake