Skip to content

Instantly share code, notes, and snippets.

@joeyfigaro
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeyfigaro/6f502060d1f107fd1e66 to your computer and use it in GitHub Desktop.
Save joeyfigaro/6f502060d1f107fd1e66 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment