On naming style sheets “style[s].css”, which still seems common: All style sheet...
Jens Oliver Meiert @j9t@mas.to
On naming style sheets “style[s].css”, which still seems common:
All style sheets contain “styles,” so this has traditionally been an odd name. The issue is that whenever one adds another style sheet (like print.css, which contains styles, too), it introduces an inconsistency that may require entirely avoidable clean-up work.
We do not call scripts “script.js” and images “image.jpg” for similar reasons—the names get inconsistent once there is another script or image.
An all-purpose alternative? Something like default.css, suggesting a standard or main representation. Usually what is meant and allowing for siblings that are used for special cases (like print).
2000s Jens on the topic: