L
L
Lone Ice2017-09-29 11:03:41
css
Lone Ice, 2017-09-29 11:03:41

How to determine screen resolution/size?

So, the essence is this: the Client came with the Xiaomi Mi6 device and shows the jambs in the adaptive version. Judging by the display, an adaptive version for a width of 360 pixels, but the screen resolution of this model is Full HD (1920x1080). And how do you determine which version of adaptives show modern devices?
PS The diagonal of this smartphone is 5.15 inches, can it be repelled from it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Nikolai Shabalin, 2017-09-29
@nikolayshabalin

Read - https://habrahabr.ru/post/237931/
a very useful article, I think it will answer your question.

A
Ankhena, 2017-09-29
@Ankhena

Open from your smartphone https://www.esolutions.se/en-GB/test

E
Eugene, 2017-09-29
@eGenius18

It's all about pixel density. the same iPhone 5 - 1136 x 640 pixels, 326 pixels per inch - this means that in the same chrome dev-tools it will be indicated as 320 pixels, but in fact, on the iPhone itself it will be 640 pixels due to the double, in relation to ordinary monitor, pixel density ...
unfortunately you have to read the article indicated by Nikolai))

D
Dmitry Pacification, 2017-10-10
@dmitry_pacification

Is the Javascript option not suitable?
screen.width

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question