One of the difficult things in computer science and programming in general is naming things and naming things in CSS is no different even though so...
For further actions, you may consider blocking this person and/or reporting abuse
And of course, for the lazy and pragmatic, there is BumCSS!!!
Also there is BEVM, which is basically BEM but it doesn't suck.
Thank you for the contribution.
BEM modifier is with double hyphen ex '--alert'
According to the quick start guide on modifier:
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.
I have used BEM at loads of work places and never once seen the single underscore used for a modifier, always double hyphen. So much easier to read too - you should add this option into your article I think as that's much more likely to be what people encounter
Thank you, I'll update the article with your contribution.
Updated.
Once again, thank you.
Elad Schecter has a great article on storytelling CSS class names which could make a great addition to this post.
I have updated the article with the provided resource. Thank you.
Can't remember the name of the methodology, but:
.u-
Utility
.o-
Object
.c-
Component
The ".u - Utility" is part of SUITCSS naming conventions.
The rest are discussed in Harry Roberts article from 2015 titled More transparent UI code with Namespaces specifically the namespaces section of the article.
Might be ITCSS from CSSWizardy?
Just wanted to share this: RSCSS
Thanks for the contribution. I updated the article with the provided resource.