Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We collectively tried the approach you’re describing, and we stopped doing it because it sucks. It looks nice in simple cases, but the lack of encapsulation or locality makes it impossible to change upstream styles without breaking something somewhere else. Also you have to use horrible BEM-style names to avoid accidental collisions between styles from different parts of your app, which kind of ruins the elegance in itself.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: