Search code examples
csscoding-styleconventions

CSS Conventions / Code Layout Models


Has there been any attempt and creating a formalized method for organizing CSS code? Before I go and make up my own strategy for keeping things readable, I'm wondering what else is out there. Google hasn't been very helpful, as I'm not entirely sure what terms to search for.

I'm thinking more along the lines of indenting/spacing, when to use new lines, naming conventions, etc.

Any ideas?


Solution

  • Natalie Down of ClearLeft fame produced a really great slide show covering this topic and more http://natbat.net/2008/Sep/28/css-systems/

    Download the PDF as it includes a lot more information than the slide show. I'd recommend this to CSS devs of all skill levels.