Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Jamie Belden
5,145 PointsIs there a specific order that elements are listed in CSS or is it pretty much a free-for-all?
It can be difficult to find the class or element that you are looking for, so I was wondering if there was a method or technique that I don't know about? I'm assuming it's always going to be laid out depending on however the developer or coder wanted to lay it out?
1 Answer

Terrance Reynolds
7,159 PointsYou could break your single CSS file into sections using comments. Some developers divide their CSS into several different files such as layout.css, font.css, modules.css. This could have some performance benefits in terms of load times for your website too.