As a rule of thumb, avoid unnecessary nesting in SCSS. At most, aim for three levels. If you cannot help it, step back and rethink your overall strategy (either the specificity needed, or the layout of the nesting).
* Nesting depth: 3
* Extends: no
* Duplicated properties: no
* Final new lines: yes
* Hex length: 6
* ID selectors: no
* Leading zero: yes
* Naming format: lowercase-with-hyphens
* Property order: see [HTML property order](./html)
* Selector depth: 3
* Single line properties: yes
## Examples
Here are some good examples that apply the above guidelines:
```scss
// Example of good basic formatting practices
.styleguide-format {
color: #000;
background-color: rgba(0, 0, 0, .5);
border: 1px solid #0f0;
}
// Example of individual selectors getting their own lines (for error reporting)