Thanks for your words Zeno Popovici.

We obviously have a different viewpoint on specificity not being a good thing and that’s fine. It’s just in my experience, if you don’t have isolated things and if you have to overwrite specificity, the standard solution is to write something with a higher specificity. After you do that a few times you generally end up with extremely long class selectors. Then you move onto ID selectors. Then you use important, and so on… Bottom line is your CSS becomes completely unusable and it all starts the very first time you have to fight a specificity issue in your project.

The main benefit of BEM is that it overcomes these specificity issues, along with making changes predictable and isolated. That’s why I think it’s so essential.

I’ll also take your words about writing better into consideration. Thank you for the response :).

Written by

Web developer — https://www.sargalias.com. Specialising in front end development. I love programming and strive to be the best software developer I can be.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store