DEV Community

Discussion on: CSS Naming conventions

Collapse
gracesnow profile image
Grace Snow

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

Thread Thread
ziizium profile image
Habdul Hazeez Author

Thank you, I'll update the article with your contribution.

Thread Thread
ziizium profile image
Habdul Hazeez Author

Updated.

Once again, thank you.