margin: { 10px 20px 30px 40px; }
lol, wat? that's not even proper syntax.Good intentions and a few good practices, but not a great understanding of the deeper issues involved in maintaining stylesheets for large sites with multiple contributors.
I would add :
- Automate rollups and minification as a part of the build process
- Outline the structure of the CSS in comments at the beginning of each CSS document.
- Don't worry about whitespace cause you're going to minify it anyways.
- Browser-specific CSS files can work against you.
- Well written CSS often requires little documentation. Focus on creating attributes that make sense. Nobody wants to RTFM.