|
|
|
|
|
by gruez
1775 days ago
|
|
>setting text size in pixels instead of points "px" in css doesn't correspond to literal pixels on the display. >By definition, this is the physical size of a single pixel at a pixel density of 96 DPI, located an arm's length away from the viewer's eyes. https://developer.mozilla.org/en-US/docs/Glossary/CSS_pixel |
|
The only reason why they're in pt is that who wrote the stylesheet didn't know any better.
1: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_...