diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-02-23 14:28:02 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-02-23 15:07:53 +0200 |
| commit | dbe29acb5eb65a8af37e91f8703abf2794786e1f (patch) | |
| tree | de8b1ab50a8a0a09c774de0fc3f7e7e40a147482 /README.md | |
| parent | f00e534ef28991da44de10e2f4bab14f7257584a (diff) | |
README: css coding conventions: alphabetical ordering guideline
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
