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 trialSamantha Atkinson
Front End Web Development Techdegree Graduate 40,307 PointsCan a Stylesheet become too long and to bigger file size?
I notice that the output CSS file includes all the reset styles. Previously before learning Sass, we were taught to add it as a separate file in the head section of your html. I understand trying to keep HTTP request to a minimum. But by adding the reset styles to one stylesheet doesn't this make your stylesheet in danger of becoming a large file size, especially if your site is big? What's the best practice to know when to have more than one style sheet? Is it possible to have 2 output files in Sass?
1 Answer
Samantha Atkinson
Front End Web Development Techdegree Graduate 40,307 PointsThank you Kevin Frenandez-Gonzalez. I have heard about gulp and grunt but never actually knew what they for.
Kevin Fernandez-Gonzalez
16,790 Pointsthey are for managing your files there is a great course un gulp here is very simple.
Samantha Atkinson
Front End Web Development Techdegree Graduate 40,307 PointsThanks, Kevin I will check out the course
Kevin Fernandez-Gonzalez
16,790 PointsKevin Fernandez-Gonzalez
16,790 Pointskeeping the CSS in a single file is the best practice, but before employing it one must minify the CSS( basically removing any white space and claiming it all to getter), to save time on the minifying you can use gulp or grunt.