Top "Bem" questions

BEM is an abbreviation for Block-Element-Modifier.

BEM block, naming & nesting

I am trying to wrap my head around BEM naming convention. I am stuck at this. I may misunderstanding something, …

html css bem
Why does BEM often use two underscores instead of one for modifiers?

In BEM, I understand that with modifiers, two dashes makes sense so that you can distinguish the modifier in my-block-my-modifier …

css bem
naming BEM sub blocks

I'm using a BEM approach to writing html + css. With this syntax: Blocks: block_name Elements: block_name__element_name …

css naming oocss bem
BEM with SASS and :hover

What's the proper way of declaring active/focus/hover states using BEM with SASS? For example, I have this structure: &…

css sass bem
Is it possible to include the parent properties in an extended Sass class?

I'd like to implement something like the BEM model in my Sass library. But I'm struggling to find a clean …

sass bem