At the moment, I have included two CSS files within my <head>
tags:
<link rel="stylesheet" href="/stylesheets/init.css">
<link rel="stylesheet" href="/stylesheets/layout.css">
The init.css
file is used for resetting elements and defining consistency across different browsers.
On the other hand, layout.css
contains everything else.
During development, it can be tedious to constantly switch between the two files. To improve usability and development efficiency, I am considering breaking down the large layout.css
file into smaller, more manageable files. However, I am unsure of the best approach to do this.
One idea I had was:
<link rel="stylesheet" href="/stylesheets/init.css">
<link rel="stylesheet" href="/stylesheets/signup.css">
<link rel="stylesheet" href="/stylesheets/navigation.css">
<link rel="stylesheet" href="/stylesheets/upgrade.css">
<link rel="stylesheet" href="/stylesheets/content.css">
... etc.
Despite this plan, I am hesitant about whether this is the most effective way to handle it.
If anyone has any suggestions or a better method, I would greatly appreciate hearing about it.