CSS Style Guides

Chris Coyier:

As we wrap up our recent poll on ordering CSS properties, it brings up the larger issue of CSS style guides. Ordering properties is just one choice you have to make that makes up a complete styling strategy. Naming is a part of it. Sectioning is a part of it. Commenting, indentation, overall file structure… it all makes up a complete CSS style guide.

Chris Coyier shows some examples of CSS Style Guides from GitHub, Google, WordPress and more. It’s very interesting to see which rules they apply.
In the last few days or maybe weeks I often thought about writing down my CSS writing rules in a more detailed way. For me and also for someone else who might need to work with me on my CSS code. I’ll approach this very soon and post about it here. You might remember I’ve already begun it.

Veröffentlicht am Dienstag, 21. August 2012 | Kommentieren

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.