Hacker News new | ask | show | jobs
by Jormundir 4645 days ago
Selecting element types rather than creating new classes is what causes bleeding styles.
1 comments

Until you get class-name collisions or your classes are applied to elements by other developers without you knowing. So you create more unique classes and every element ends up having 12 classes applied to it. Classes are no solution to bleeding styles.