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 Advanced Sass Getting Started Sass Basics in Review

BJ Scott
BJ Scott
3,452 Points

If i have a site with lots of case studies & each one has a different design do I make a scss file per case study?

I get Sass for large scale applications that have a lot of repeating elements but what about a site that is an application and one of its sections is lots of case studies with unique design for each one. I'm trying to figure out what the file structure should look like.

1 Answer

Charles Smith
Charles Smith
7,575 Points

During development, I would keep files separate to make it easy to work with. You can minify the project for production.

It probably also depends on how much each design is going to borrow from the other. If the design differences are small, it might make sense to start with a basic template and reusable classes, then add the differences to the same file.

The short answer is that it doesn't really matter as long as you properly include all of your CSS files. Order is important when adding them to your <head> tags depending on which route you choose.