Defensive CSS

Short, practical CSS tips for building interfaces that do not break, covering real-world edge cases like long text, missing images and overflow, with examples for each.

Tonble
Share X Reddit Bluesky Email
Screenshot of defensivecss.dev

Stumble onto more like this

One click takes you to a page you didn't know you were looking for. Rate it and the next one lands closer to your taste.

Add to Browser — it's free

Works in Chrome, Edge and Brave. No account needed.