Streaming live at 10am (PST)

Using BEM in CSS

Hi everyone, can you help me please?
I want to use BEM in my CSS How can I use CSS without nesting?


Here is my site Read-Only: LINK
([how to share your site Read-Only link][2])



Hi, I just stumbled over your question. You’re using BEM wrong. When declaring an element (b-head__logo) you’re NOT supposed to include the parent block class; that’s only for modifiers. IE “.b-head .b-head–modified”.

1 Like

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.