A
A
Artem2018-08-27 20:37:39
css
Artem, 2018-08-27 20:37:39

Why is text with viewport tag acting weird?

I designed the site, using media queries and rem made it adaptive and was pleased with my work. But then I asked myself the question of seo-optimization, and Yandex tells me:
The site is not optimized for mobile devices. r1GMGqa-9fs.jpg
I tried to add different variations of the viewport tag:

<meta name="viewport" content="width=device-width, initial-scale=1">
<!--или-->
<meta name="viewport" content="width=device-width">
<!--или-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

But the text seemed to stop shrinking when switching to mobile resolutions. It began to increase and not fit into resolutions like 480x640. I didn’t google anything and I’m very interested in what it is.
Without viewport:
aFxp4whPSZg.jpg
With viewport:
NrpRGIhdro0.jpg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question