Code Guide
Standards for developing flexible, durable, and sustainable HTML and CSS
Table of contents
HTML
Syntax
HTML5 doctype
Language attribute
Character encoding
Internet Explorer compatibility mode
CSS and JavaScript includes
Practicality over purity
Attribute order
Boolean attributes
Reducing markup
JavaScript generated markup
CSS
CSS syntax
Declaration order
Don't use @import
Media query placement
Prefixed properties
Rules with single declarations
Shorthand notation
Nesting in Less and Sass
Operators in Less and Sass
Comments
Classes
Selectors
Organization
http://codeguide.co/