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 trialakhil maddu
1,422 Pointsadvantages of importing css files
what are the advantages of importing css files ?
4 Answers
Pavle Lucic
10,801 PointsAdvantage comes when you have large project (50+ page that needs to style).
You can have modular css files, that import into one main css file (something like cotroller).
Andrew Claytor
6,637 PointsIf you are talking about files like normalize.css it is because it helps preserve useful defualts across a multitude of browsers.
akhil maddu
1,422 Pointsnot that css files.we @import to get css files from other sources.
Jonathan Grieve
Treehouse Moderator 91,253 PointsI don't often use import but I think it's as useful as using link-rel in that it doesn't take up space for browser rendering and of course it keeps your code clean and organised.