Skip to main content Accessibility Feedback

Don't be clever

Something that comes up often in client work: the more people try to “be clever” and throw code at the browser to control it more tightly, the more downstream effects there.

You find yourself writing more and more JS to undo or compensate for existing JS. You find yourself writing increasingly complex CSS selectors.

It becomes a nightmare of code.

Don’t try to be clever. Don’t try to fight the browser.

Lean into it and let the platform do what it does best.