summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-02-23 14:28:02 +0200
committerLV-426 <lv-426@taproot.org.il>2015-02-23 15:07:53 +0200
commitdbe29acb5eb65a8af37e91f8703abf2794786e1f (patch)
treede8b1ab50a8a0a09c774de0fc3f7e7e40a147482 /README.md
parentf00e534ef28991da44de10e2f4bab14f7257584a (diff)
README: css coding conventions: alphabetical ordering guideline
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 55826afc..8b50dc1b 100644
--- a/README.md
+++ b/README.md
@@ -67,6 +67,7 @@ To update the css files you need [sass](http://sass-lang.com/). To rebuild the c
## CSS / SCSS Coding Conventions
- assume use of modern browsers
- indent files using 4 space characters
+- apply alphabetical ordering whenever possible: selectors, directives, etc.
- use a combination of CSS classes / IDs to draw common/unique styling, eg. <code>class=form-Foo\_input-field id=email-field</code>
- minimize use of CSS directives, remove directives which have no effect
- avoid using browser-specific CSS directives when hand-writing CSS code