Your Code Font Is Lying to You: 5 Things to Check in a Monospace Font
Most developers pick a code font once, from a screenshot, and then live with it for years. The...
Tag archive
Most developers pick a code font once, from a screenshot, and then live with it for years. The...
With font-display: swap, the browser shows text in a fallback font first and swaps in the web font...

text-box trims the invisible space above and below text, so equal padding finally looks equal, and since Firefox 154 it works in every major engine.

Calibri, Segoe UI and Helvetica turn up in a lot of mockups, and none of them can ship as a web font....
A codepoint census of every visible character on a live site. 386,063 characters, 98 distinct, zero em dashes, 261 straight apostrophes against two curly ones hiding in generated data, and six non-breaking spaces that turn out to be an accessibility violation.
If you have ever tried to convert a Hindi government circular, district court petition, or scanned...
Measuring line length on 76 pages two ways, in characters per rendered line and in ch units of box width. 1,755 paragraphs, a median measure of 78, 11 per cent inside the classic comfort range, and a layout that stops responding at 768px.
"Modular scale, ratio 1.25" is a nice thing to put in a design doc. When you inherit a site, or want...
Sometimes you do not need a new animation. You only need a few words on a loop you already like. A...
letter-spacing and word-spacing: the CSS properties doing optical work Two properties control...

When creating my somewhat quirky portfolio site I came across a challenge to make short bits of text...
I measured every rendered line box on a live site by walking each character with a Range and grouping by its top edge. 4,452 lines at desktop width, 99.1 per cent of the full ones longer than the 80 character guideline, 83 widowed paragraphs, and the one-line fix already shipping in our CSS unused.