I
I
indigogoose2019-03-21 16:02:07
Adaptive design
indigogoose, 2019-03-21 16:02:07

Is there a mobile-only equivalent of @media queries?

Hello!
Faced with the issue of displaying an adaptive site on mobile phones with large screens (for example, 2220 × 1080). On the one hand, they are large enough to accommodate the layout of the site for desktop devices,
on the other hand, they are not large enough to comfortably read the information on the screen.
Standard media queries for mobile phones are not "catching" because the screen is too big.
Is there some way to use separate css only for mobile devices?
ps I know about Mobile-detect, but I do not trust this method.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anatoly, 2019-03-21
@Tolly

Do you use?

<meta name="viewport" content="width=device-width, initial-scale=1.0">

G
Genexys, 2019-03-21
@Genoxys

You are not looking. Read the media spec what they mean

W
webviktor, 2019-03-21
@webviktor

flexbox decides

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question