|
4 | 4 |
|
5 | 5 | ## Table of Contents |
6 | 6 |
|
7 | | -1. [Terminology](#terminology) |
8 | | - - [Rule Declaration](#rule-declaration) |
| 7 | +- [Airbnb CSS / Sass Styleguide](#airbnb-css--sass-styleguide) |
| 8 | + - [Table of Contents](#table-of-contents) |
| 9 | + - [Terminology](#terminology) |
| 10 | + - [Rule declaration](#rule-declaration) |
9 | 11 | - [Selectors](#selectors) |
10 | 12 | - [Properties](#properties) |
11 | | -1. [CSS](#css) |
| 13 | + - [CSS](#css) |
12 | 14 | - [Formatting](#formatting) |
13 | 15 | - [Comments](#comments) |
14 | 16 | - [OOCSS and BEM](#oocss-and-bem) |
15 | | - - [ID Selectors](#id-selectors) |
| 17 | + - [ID selectors](#id-selectors) |
16 | 18 | - [JavaScript hooks](#javascript-hooks) |
17 | 19 | - [Border](#border) |
18 | | -1. [Sass](#sass) |
| 20 | + - [Sass](#sass) |
19 | 21 | - [Syntax](#syntax) |
20 | | - - [Ordering](#ordering-of-property-declarations) |
| 22 | + - [Ordering of property declarations](#ordering-of-property-declarations) |
21 | 23 | - [Variables](#variables) |
22 | 24 | - [Mixins](#mixins) |
23 | 25 | - [Extend directive](#extend-directive) |
24 | 26 | - [Nested selectors](#nested-selectors) |
25 | | -1. [Translation](#translation) |
26 | | -1. [License](#license) |
| 27 | + - [Translation](#translation) |
| 28 | + - [License](#license) |
27 | 29 |
|
28 | 30 | ## Terminology |
29 | 31 |
|
@@ -71,7 +73,7 @@ Finally, properties are what give the selected elements of a rule declaration th |
71 | 73 |
|
72 | 74 | * Use soft tabs (2 spaces) for indentation. |
73 | 75 | * Prefer dashes over camelCasing in class names. |
74 | | - - Underscores and PascalCasing are okay if you are using BEM (see [OOCSS and BEM](#oocss-and-bem) below). |
| 76 | + * Underscores and PascalCasing are okay if you are using BEM (see [OOCSS and BEM](#oocss-and-bem) below). |
75 | 77 | * Do not use ID selectors. |
76 | 78 | * When using multiple selectors in a rule declaration, give each selector its own line. |
77 | 79 | * Put a space before the opening brace `{` in rule declarations. |
|
0 commit comments