N
N
ne_pes2018-03-07 12:58:04
HTML
ne_pes, 2018-03-07 12:58:04

How to make original resolution in browsers on macbook?

On a macbook, the resolution is 2560x1600, but when viewing the code, it turns out that the browser perceives the screen as 1300 max, how can I make the browser take 2560 pixels as 100% width? needed for debugging media queries

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Radkov, 2018-03-07
@ne_pes

Debug media queries through the Device Toolbar. There you can choose between retina and non-retina, and even test on screens larger than the physical pixels of your monitor.
take.ms/Q9aHn watch the video

K
kreotech, 2018-03-07
@kreotech

Probably not 1300, 1280 pixels.
This is fine. Media queries are supposed to work the same way. Since on retina devices it is considered that the pixel density is 2 times higher. That is, 1 pixel on a normal screen is equal to the square of 2x2 pixels on the retina.
And when layout through media queries, "normal" pixels are worked out, and not physical resolution.
This is always the case for mobile devices. In a laptop I suspect that too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question