V
V
Vladislav2020-12-02 14:56:02
css
Vladislav, 2020-12-02 14:56:02

Why is the device toolbar in the code inspector not working properly?

Good afternoon.
I switch to different screens (tablet, phone), but for some reason the site decreases, and does not adapt, as prescribed in media queries. And if I just reduce the browser window, then the code works fine.
Opera browser and chrome as well.
5fc780057c28f480332177.jpeg
How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
strelok011, 2020-12-02
@Vladddosss

perhaps in the HTML tag you need to add this media query.

<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question