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
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Mar 12, 2012 | CSS px is an Angular Measurement by ned | 129 | 60 |
| Nov 4, 2013 | CSS “px” is an Angular Measurement? by secoif | 61 | 16 |
Cited in comments
Linked from 7 Hacker News comments by 7 different people, from Apr 2012 to May 2026.
Most recent: