Block Content Indentation
Indent all declarations to reflect hierarchy and improve understanding.
body { |
Declaration Order
Prefer alphabetical order in each declaration block.
Declaration Stops
End every declaration with a semicolon for consistency and extensibility reasons.
.test { |
Property Name Stops
Always use a single space between property and value (but no space between property and colon) for consistency reasons.
h3 { |
Declaration Block Separation
Always use a single space between the last selector and the opening brace that begins the declaration block.
The opening brace should be on the same line as the last selector in a given rule.
video { |
Selector and Declaration Separation
Always start a new line for each selector and declaration.
/* Recommended */ |
Rule Separation
Always put a blank line (two line breaks) between rules.
html { |