loading...

re: CSS Naming conventions VIEW POST

FULL DISCUSSION
 

BEM modifier is with double hyphen ex '--alert'

 

According to the quick start guide on modifier:

The modifier name is separated from the block or element name by a single underscore (_).

Your example --alert is one of the Alternative naming schemes used in the BEM community know as Two Dashes style.

You can check the examples in the naming convention section of the methodology.

code of conduct - report abuse