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 trialKevin Barry
1,090 PointsWhat if I copied and pasted everything inside the import style sheet into my CSS file? Would that enhance load times?
Instead of importing with @import and slowing the web directory down, would it be beneficial to just copy and paste everything that is inside the import file to your CSS style sheet?
1 Answer
Mark Tripney
6,211 PointsHi Kevin,
I couldn't say for sure, but I know that linked style sheets can be loaded in parallel. @import
has to be loaded 'distinctly', I believe. (i.e. the external style sheet is loaded, then the @import
stylesheet.)