emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: html manual +css


From: Yuri Khan
Subject: Re: html manual +css
Date: Thu, 26 Dec 2019 23:27:57 +0700

On Thu, 26 Dec 2019 at 22:51, Stefan Monnier <address@hidden> wrote:

> >> https://medium.com/@elad/understanding-the-difference-between-css-resolution-and-device-resolution-28acae23da0b
>
> This page is pretty poor, not explaining what the "CSS pixel" is
> supposed to represent; taking "browser provided data" as gospel ;-)

The CSS pixel is defined in the CSS specification.

https://drafts.csswg.org/css-values-3/#reference-pixel

Specifically, for screen devices, it recommends that 1px be an integer
multiple of a device pixel that at the typical viewing distance yields
the best approximation of a visual angle of a length of 1/96 inch at
one standard arm’s length.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]