Browser with fixed width

I want to test my media-queries, but my browser doesn’t shrink the width even when I change it, examples below:

Moto G4 screen appears with a fixed width of 980px:

The same when I test with any other device screen:

Does someone know why is that happening?

I just forgot the meta tag “viewport”

If you had the same problem, here is what this meta tag really does so that you never forget it again:

https://www.w3schools.com/css/css_rwd_viewport.asp

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.