DEV Community

Discussion on: CSS + BEM Methodology = 🤘

Collapse
capsule profile image
Thibaut Allender

You only need BEM if you don’t understand CSS specificity. If you namespace your components correctly you don’t need that convoluted naming, especially when using SCSS as it will write the long selectors for you. There was an argument at some point saying single classes were faster to read and render but right to left CSS selector optimisation is pointless with modern browsers.