Sean B. Palmer personal blog

CSS px is an Angular Measurement

The “px” unit in CSS doesn't really have anything to do with screen pixels, despite the poorly chosen name. It's actually an non-linear angular measurement. The formulæ to convert between radians and px are as follows:
Points
129
HN comments
76
Submissions
2
Cited by
7 commenters

Web & FrontendDesign & UX2012

On Hacker News

SubmittedTitle on HNPointsComments
Mar 12, 2012CSS px is an Angular Measurement by ned12960
Nov 4, 2013CSS “px” is an Angular Measurement? by secoif6116

Cited in comments

Linked from 7 Hacker News comments by 7 different people, from Apr 2012 to May 2026.

Most recent:

Search every comment that links here →

Related posts from the same era