Skip to content

Instantly share code, notes, and snippets.

@peterwilsoncc
Last active August 29, 2015 14:02
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 peterwilsoncc/e9bee34d87efe1f5d38c to your computer and use it in GitHub Desktop.
Save peterwilsoncc/e9bee34d87efe1f5d38c to your computer and use it in GitHub Desktop.
Trying out a variation of the SUIT CSS naming convention on a personal project. See http://peterwilson.cc/suitcss-naming-convention/
.u-utility {}
.t-templateName {}
.ComponentName {}
.ComponentName-modifierName {}
.ComponentName_descendantName {}
.ComponentName.is-someState {}
.js-ComponentName /* JavaScript hook */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment