Skip to content

Instantly share code, notes, and snippets.

@nicoxxxcox
Created April 2, 2019 07:41
Show Gist options
  • Save nicoxxxcox/8d92f4914f6f984502cf237fb7886438 to your computer and use it in GitHub Desktop.
Save nicoxxxcox/8d92f4914f6f984502cf237fb7886438 to your computer and use it in GitHub Desktop.
Bloc.Elements.Modifiers CONVENTION
/*CONVENTION*/
.ComponentName
.ComponentName.modifierName
.ComponentName-descendantName
.ComponentName-descendantName.modifierName
/*STATE OF COMPONENT*/
.ComponentName-isStateOfComponent
/*MODIFIER FOR SCREEN*/
// M : mobile
// T : tablet
// D : desktop
.strickyMT
.notVisibleM
/*TRANSVERSAL OBJECTS CLASS*/
.ob-commonBox
.lang-localisableLabel
.ob-prettyBox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment