Article From:https://segmentfault.com/q/1010000011098213
Question:

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

Answer 0:

Finally, I found the answer was that I made a fool of the smaller scale of the browser.

Answer 1:

Feeling or the problem of the code, let’s put an address

Answer 2:

I wrote it myself and then used it.live-servergulp-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?

Leave a Reply

Your email address will not be published. Required fields are marked *