-
-
Save kwiss/61c49e8d7fbe6dedbcd5 to your computer and use it in GitHub Desktop.
BEM for us
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.blockName{ | |
/* global strate block */ | |
} | |
.blockName--modifier{ | |
/* global strate block modifier */ | |
} | |
.blockName-componentName{ | |
/* children component */ | |
} | |
.blockName-elementName{ | |
/* children element */ | |
} | |
.blockName-component--modifier{ | |
/* children modifier */ | |
} | |
.blockName-element--modifier{ | |
/* children element modifier */ | |
} | |
.js-blockName-action{ | |
} | |
.blockName-globalComponent{ | |
/* styling generic component inside a block */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment