G
G
gromyko212021-03-21 09:51:48
css
gromyko21, 2021-03-21 09:51:48

Why doesn't responsive design work only in safari?

I set up an adaptive design for the site, which is displayed in chrome, mozilla, but safari does not want to accept it. On phones, respectively, everything is also displayed correctly. I would like to work through safari so that the adaptive design is correct.
I inserted the meta tag (I tried different combinations of it - nothing helped).

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

css has similar settings
@media only screen and (min-device-width : 320px) and (max-device-width : 480px)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri, 2021-03-21
@cheeroque

Because you need to use min-width instead of min-device-width.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question