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

Is there a reason why the flexbox is in a separate css file?

Why Gil use two css files? There is one for the style and one for the flexbox. This is confusing!

2 Answers

That is just the way he chose to organize the CSS in the project. It doesn't have to be that way, you can organize in any way makes the most sense to you.

Thanks Nicholas, it's just the first time that I see this. What would make the most sense to you?

I have been picking the brain of a buddy of mine who gets paid very large bucks by the likes of Disney, Microsoft and Amazon. He says, whenever possible put all your css in one file. It cuts down on i/o. I assume he is right because he is a highly paid wizard and it has been working well for me since I switched.