- Don't nest if you're using SCSS or LESS, or at least don't nest too much
- BEM all the things (or use some variant of BEM)
- Never use an
id
for styling purposes - For JS-specific classes, use
.js-foo
- Use a
.text
class for paragraphs/running text
Created
July 31, 2015 02:09
-
-
Save yuanqing/e3282460fdc867c1d133 to your computer and use it in GitHub Desktop.