MY CURRENT SITUATION
I am working with multiple pages such as index.html
and menu.html
, all using a single stylesheet called style.css
.
A large portion of the styling code used for index.html
is not necessary for menu.html
.
MY QUESTION
Should I consider creating separate CSS files like index.css
, global.css
, and menu.css
? Each stylesheet would be tailored to its corresponding HTML document, while global.css
would handle universal styles.
MY CONCERN
Would implementing this approach impact the performance of my webpage in terms of loading times? Although we may be loading multiple files, the overall number of lines of code has been significantly reduced.