Braindump for Code for RVA's playbook
Style:
- trim excess whitespace
- two-space indentation; never tabs
- never use underscores in CSS
- use camel-casing in JS
- never abbreviate or shorten; if something is too long, revisit the language used to communicate
- never chain classes in your markup (use an abstraction layer instead... sass @extend)
- use IDs sparingly, for important parts of your document
- always ask if you actually need that container (divs especially) to accomplish what you need
- sections, asides, articles do not replace divs
Tools:
- Sass
- Grunt
- RequireJS