‘Scope’ in CSS

The always reliable Harry Roberts on CSS optimization writes a lot of solid points here. But it ultimately comes down to this:

Make sure any classes you write aren’t loose; make sure they’re always well named, and scoped if they need to be.

To put it another way, as I’ve always told classes I’ve taught and colleagues I’ve mentored, good CSS class names are underrated. Choose wisely.