I have only been a programmer for a few years and I my heart really is in web development and the exciting world of mobile development. I was working through CSS and discovered the @Import tag. I thought this was great to keep separate the CSS for individual pages. I had likened it to the “import” function in the C language. Mistakenly thinking that these files are all compiled together again taking on the attitude in the C language. So as a best practice I decided to use this tag and concept on a few of the projects that I am working on as well as convert some of my existing projects into this standard.
The idea is to have one main Site.css page that has all of the @Import tags for each of the pages that I have created. To me it just made sense. Then in the HTML code there is only one tag. Something I hated was having several “link” tags to multiple files. This just seems to clutter up the HTML file and in trying to separate out things that are only important to particular pages.