DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Death to px, long live ch!

Quality: 8/10 Relevance: 9/10

Summary

The post argues that pixels are a perception-based unit and introduces using ch and ex units to size content for readability. It explains how the author uses ch for content width and discusses when ex is appropriate for vertical dimensions, with code examples. It also cautions that px isn't inherently wrong but that layout choices should align with typography goals.

🚀 Service construit par Johan Denoyer