Create-react-app style 1px visual end has 1.25px

I built a project using create-react-app. I didn"t pay attention to it when I wrote it at first. Later, I found that the style was written out. The 125px displayed by 100px on the web page was indeed magnified by 1.25x when I used the screenshot tool. The style in the review attribute was still 100px, and the proportion of the entire web page was the same), but all the proportions were normal when the package was put online. At first I thought it was a problem with my code for a long time, then I recreated create-react-app, and wrote the simplest style, and found that it was still magnified by 1.25x (and then tested on another computer is normal, what the heck is this? )

this is my definition of meta

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="-sharp000000">

take a look at your definition of viewport meta, and you can also learn more about http://www.cnblogs.com/2050/p.


because: width=device-width


it doesn't look like viewport, but more like your own browser zooms. You press Ctrl+0 to try.

Menu