I got a little confused about CSS pixels and whether they translated them into pure resolution or the physical width of the devices. My question is: will the content displayed on a 13-inch 1080p laptop be the same as on a 4-inch 13-inch laptop? Or will everything be reduced?
(I use (max-width) / (min-width) media queries, not (max-device-width) / (min-device-width) I would be glad if you guys understood this for me .
Yes, he must do the same.
CSS " px", "... ...", , CSS- , (.. HD 4K) .
"px" CSS 1/96 . , / .
, CSS. 4k 13 " , 1080p 13- .
, , . , . devicePixelRatio - CSS.
devicePixelRatio
devicePixelRatio: https://www.quirksmode.org/blog/archives/2012/07/more_about_devi.html
: https://mydevice.io/devices/
Source: https://habr.com/ru/post/1691837/More articles:How can I combine a React element and text inside a triple? - ternaryHow to use std :: lock_guard without breaking const? - c ++Why does it still work without installing AndroidInjectionModule? - dagger-2How can I use bearer token authentication to access the report server, where the report opens on different tabs? - angularjsJava: valueOf vs copyValueOf - javaUnable to use CLI / command line after ng service - angularCallState response callState not called for external (npm packaged) component - reactjsHow to remove border selection on after clicking - htmlIf a CancellationToken is a structure and passed in a value, how is it updated? - parameter-passingНевозможно связать параметр 'log', чтобы ввести TraceWriter - c#All Articles