dpi icon indicating copy to clipboard operation
dpi copied to clipboard

Feature request: Show CSS Resolution

Open alimd opened this issue 9 years ago • 3 comments

We usualy check dpi.lv for check dppx in mobile devices for calculate CSS Resolution Whats your idea about calculate css resolution by dppx (if available) and show in the list ? If interested, may i pull request ?

alimd avatar May 21 '15 20:05 alimd

This idea is in theory simple to implement

css_width = device_width / dppx
css_height = device_height / dppx

However it wouldn't be that simple to provide a proper viewport sizes for use in CSS media queries etc The viewport size varies depending on the browser and visible components of the browser. This could possibly be quite a big job to implement in the list interface and to maintain for browser versions.

My feeling is good idea but possibly beyond the scope of dpi.lv

:+1:

raldred avatar Jul 22 '15 10:07 raldred

I would be interested in having this as a tooltip on the width/height <td>s.

LeaVerou avatar Feb 13 '16 06:02 LeaVerou

Some of the dppx values are wrong though. For instance the iMacs with a DPI value of 219 should have a dppx value of 2, at least I am guessing they should have. However they are listed as having a dppx value of 1.

fritzmg avatar Mar 15 '17 14:03 fritzmg