My screen resolution is 1920X1080, and the two page styles are already in force when I open the page.
Figure 1: the width of the box model of the page launched by gulp localhost.
Figure two: the width of the box model for the local browser to open the page.
My question: Why is the difference in the width and height of the box model between the two ways of opening a page so big, and what causes this problem? Thank you
Finally, I found the answer was that I made a fool of the smaller scale of the browser.
Feeling or the problem of the code, let’s put an address
I wrote it myself and then used it.
gulp-connect 、 Browser directly opened three ways to look at it, without any changes.
I think your first one actually shows more than 5000, is it code control?