Physical pixels and logical pixels
After looking at the 1th of our above content, maybe some people will have some questions, my Android phone, or iphone6plus (should be limited to this model right now), buy back 1920x1080 or other higher, It's bigger than the default 980px that I called the viewport.
The problem, which I mentioned earlier, is the relationship between the physical pixels and the logical pixels (that is, DPR). In 1920x1080, for example, 1080 is a physical pixel, and we get it in viewport, such as "Width-device", which is a logical pixel. So the default value of the previous viewport, the size of the pair, is actually the size of the logical pixel, not the size of the physical pixel.
Take Iphone6 as an example, without doing any scaling, the iphone6 gets the ' Width-device ' to 375px, which is the logical pixel of the screen. The 750px that we know when buying is the physical pixel of the screen.