BEM intruder

BEM is a CSS methodology and it stands for Block, Element, Modifier. Plenty of applications rely on this methodology. It is a system that will help us write better CSS. If you are curious, read more here. I have seen some code that was really consistent in the naming of the classes, but then out of nowhere there is some modifier class, like nav--black. There weren’t any of the BEM traces in the rest of the code. It is just this one element that had this class. Hm why did we have to use that modifier from the BEM here and why is there no BEM anywhere else in the code?

My two cents are to be consistent in the CSS architecture and in naming your classes.