In order to make the site fast and responsive, which is better?
1-Use Media Queries and set the resolutions in just one style sheet.
2-Use multiple stylesheets that will be called in HTML according to the resolution.
In order to make the site fast and responsive, which is better?
1-Use Media Queries and set the resolutions in just one style sheet.
2-Use multiple stylesheets that will be called in HTML according to the resolution.
It is recommended to use only one style sheet file (.css). Below is a list of pros and cons. Remembering that it's just recommendations and observations ... any of the methods is effective.
Pros of a .css file:
Cons of an .css file:
Pros of using multiple files:
Against using multiple files: