Hard Edge

Why Our Borders Are Always Two Pixels

posted by Kit Sorensen
August 28, 2026
CSS
Photograph for “Why Our Borders Are Always Two Pixels”

Every border on our sites is two pixels, from inputs to cards.

Where the rule bends

The trick is to decide once and write it down. Most messy stylesheets are not badly written; they are a record of the same decision being made twenty different ways.

  • Four pixels for page dividers
  • One pixel for table rules
  • Never zero on interactive elements

Nothing here needs a framework. A few lines of plain CSS and a template that prints clean markup will get you most of the way.

Consistency looks like design even when nobody can say why.

We checked every page at 390 pixels wide before calling it done. Phones are where layouts break first, and where most of our readers are.

It is tempting to add one more variation. Resist it. Every option you add is one more thing to test, document and eventually delete.

Our rule of thumb: if we cannot explain a choice in one sentence to a client, we probably should not ship it.

Borders do a lot of quiet work. They separate content, show what can be clicked and give the eye somewhere to rest.

Performance was not the goal, but it came along anyway. Fewer styles, fewer scripts and fewer images add up quickly.

Leave a Reply

Your email address will not be published. Required fields are marked *