BEM by Example | Sparkbox | Web Design and Development
BEM is a popular CSS naming convention. While the fundamentals of BEM are simple and straightforward, mistakes are common. These BEM examples will help you apply this useful naming convention and avoid some of the pitfalls many face when using BEM naming conventions.
ABEM. A more useful adaptation of BEM. | CSS-Tricks
I'm a massive fan of BEM, however there are a few problems I have with the syntax. I've made some slight tweaks to improve on it. I call this adapted syntax ABEM.
Over the last several years, the way I write CSS has transitioned from a "semantic" approach to something more like what people call "functional CSS." In this post I explain how I got to this point and share some of the lessons and insights I've picked up along the way.
Interview with Varya Stepanova -- To BEM or not to BEM
“If you have to imagine this kind of pain, think about new versions of Bootstrap. And multiply it by 1000 due to the bigger size of the library and the amount of projects. These were the problems which BEM offered to solve.”
Interview with Micah Godbolt -- To BEM or not to BEM
“While I really like the flat selector approach that BEM defines, I prefer to not clutter my elements with a bunch of classes. My decision was then to use data attributes to apply my modifiers and contexts.”