equal
deleted
inserted
replaced
|
1 CSS Coding Standards |
|
2 -------------------- |
|
3 |
|
4 (Draft, to be continued) |
|
5 |
|
6 :Naming: camelCase |
|
7 |
|
8 Indentation rules |
|
9 ~~~~~~~~~~~~~~~~~ |
|
10 - 2 espaces avant les propriétés |
|
11 |
|
12 - pas d'espace avant les ":", un espace après |
|
13 |
|
14 - 1 seul espace entre les différentes valeurs pour une même propriété |
|
15 |
|
16 |
|
17 Documentation |
|
18 ~~~~~~~~~~~~~ |
|
19 Please keep rules semantically linked grouped together, with a comment about |
|
20 what they are for. |
|
21 |
|
22 Recommendation |
|
23 ~~~~~~~~~~~~~~ |
|
24 - Try to use existing classes rather than introduce new ones |
|
25 |
|
26 - Keep things as simple as possible while in the framework |
|
27 |
|
28 - Think about later customization by application |
|
29 |
|
30 - Avoid introducing a new CSS file for a few lines of CSS, at least while the |
|
31 framework doesn't include packing functionalities |
|
32 |
|
33 |