Skip to content

Instantly share code, notes, and snippets.

@Inumedia
Inumedia / index.md
Created September 22, 2016 13:23 — forked from alekseykulikov/index.md
SUIT CSS naming convention for React.js application

Recently CSS has got a lot of negativity. But I would like to defend it and show, that with good naming convention CSS works pretty well.

My 3 developers team has just developed React.js application with 6561 lines of CSS (and just 5 !important). During one year of development we had 0 issues with CSS. No refactoring typos, no style leaks, no performance problems, possibly, it is the most stable part of our application.

Here are main principles we use to write CSS for modern (IE11+) browsers:

### Keybase proof
I hereby claim:
* I am inumedia on github.
* I am inumedia (https://keybase.io/inumedia) on keybase.
* I have a public key whose fingerprint is 7CD0 D8F2 9AF0 1A8C 50A8 3266 A631 12CA 4198 25E5
To claim this, I am signing this object: