bem class naming convention code example
Example 1: bem css
/* Block component */
.btn {}
/* Element that depends upon the block */
.btn__price {}
/* Modifier that changes the style of the block */
.btn--orange {}
.btn--big {}
Example 2: bem naming
.block__elem { }
.block__elem--mod { }