# Fixing a Pixel Bug Led to a Better Responsive Design Calculator

> Hacker News story 48903490 · language: en · submitted 2026-07-14
> Web version: https://zeli.app/story/48903490
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 11 · by [ingve](<https://news.ycombinator.com/user?id=ingve>) · 💬 2
[original](<https://www.redblobgames.com/blog/2026-07-11-responsive-design-calculator/>) · [HN discussion](<https://news.ycombinator.com/item?id=48903490>)

## Summary

I discovered a tiny font size error on my old site and decided to investigate why. This journey led me to abandon rigid breakpoints for a smooth, single layout that adapts to any screen width. I built an interactive calculator to automate the math and eventually moved the calculations directly into CSS using modern functions like clamp and round.

## Key quote

> Overall I think the first half of this project was hard to justify. Fixing the bug changed a fraction of a pixel, and that shouldn't matter to anyone.

---

## Cite

- Page: https://zeli.app/story/48903490
- Date: 2026-07-14
- Source: redblobgames.com (https://www.redblobgames.com/blog/2026-07-11-responsive-design-calculator/)
- Hacker News: https://news.ycombinator.com/item?id=48903490

## Other languages

- zh: https://zeli.app/zh/story/48903490 · markdown: https://zeli.app/zh/story/48903490.md
- ja: https://zeli.app/ja/story/48903490 · markdown: https://zeli.app/ja/story/48903490.md
- ko: https://zeli.app/ko/story/48903490 · markdown: https://zeli.app/ko/story/48903490.md
- de: https://zeli.app/de/story/48903490 · markdown: https://zeli.app/de/story/48903490.md
- es: https://zeli.app/es/story/48903490 · markdown: https://zeli.app/es/story/48903490.md
