There's a lot of good CSS knowledge and experience in this comment - as long as one can get past the grouchy tone, with which I sympathize. I agree that for a page showing how to use CSS, the code examples have room for improvement to demonstrate best practices.
Somewhere I imagine there's a summary of the "common sense" guideline for CSS, like the range of reasonable line width and height, avoid !important, and so on. A linter like Stylelint can help enforce them. ..Huh, ESLint now supports linting CSS (announced Feb 2025).
Somewhere I imagine there's a summary of the "common sense" guideline for CSS, like the range of reasonable line width and height, avoid !important, and so on. A linter like Stylelint can help enforce them. ..Huh, ESLint now supports linting CSS (announced Feb 2025).