From dbe29acb5eb65a8af37e91f8703abf2794786e1f Mon Sep 17 00:00:00 2001 From: LV-426 Date: Mon, 23 Feb 2015 14:28:02 +0200 Subject: README: css coding conventions: alphabetical ordering guideline --- README.md | 1 + 1 file changed, 1 insertion(+) 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. class=form-Foo\_input-field id=email-field - minimize use of CSS directives, remove directives which have no effect - avoid using browser-specific CSS directives when hand-writing CSS code -- cgit v1.3.1