Skip to content

Instantly share code, notes, and snippets.

@davilious
Last active August 29, 2015 14:12
Show Gist options
  • Select an option

  • Save davilious/4dabc6e7f5394e1cd55b to your computer and use it in GitHub Desktop.

Select an option

Save davilious/4dabc6e7f5394e1cd55b to your computer and use it in GitHub Desktop.
Classes pattern
.h-clearfix { /*Helpers*/ }
.Page-header { /*Moduls of page structure*/ }
.Page-content { /*Moduls of page structure*/ }
.Page-foot { /*Moduls of page structure*/ }
.Module { /*Defining module*/ }
.Module--modifier { /*Module modifier*/ }
.Module-content { /*Module descendant*/ }
.Module-content--modifier { /*Modifier of a module descendant*/ }
.Module__element { /* Element of the module */}
.Module__element--modifier { /* Modifier of the element of the module */}
.Module.is-active { /*State of the module*/ }
.js-change-state { /* javascript hook */ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment