Skip to content

Instantly share code, notes, and snippets.

@callum
Created May 29, 2015 11:16
Show Gist options
  • Save callum/0a2f97fcec69cc6f0407 to your computer and use it in GitHub Desktop.
Save callum/0a2f97fcec69cc6f0407 to your computer and use it in GitHub Desktop.
// no
.app-header {}
.app-header__nav {}
.app-header__nav__list {}
.app-header__nav__item {}
.app-header__nav__item__title {}
// yes
.app-header {}
.app-header__nav {}
.app-header__list {}
.app-header__item {}
.app-header__title {}
// yes (as modules get complex and name conflicts become more likely)
.app-header {}
.app-header__nav {}
.app-header__nav-list {}
.app-header__nav-item {}
.app-header__nav-item-title {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment