Skip to content

Instantly share code, notes, and snippets.

@sebastien-p
Created November 5, 2013 12:34
Show Gist options
  • Save sebastien-p/7318412 to your computer and use it in GitHub Desktop.
Save sebastien-p/7318412 to your computer and use it in GitHub Desktop.
CSS BEM-style naming conventions
namespace-componentName
namespace-componentName--modifier
namespace-componentName__descendant
namespace-u-utilityName
namespace-a-animationName
namespace-s-stateName
namespace-j-jsHookName
//namespace-c-colorName?
//namespace-c-colorName--text?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment