D
D
Denis_DM2018-10-30 17:37:44
CMS
Denis_DM, 2018-10-30 17:37:44

What css media requests to register for mobile devices?

What are the best resolutions to prescribe when using CSS queries so that the site is optimized for different phone screen options.
Please, just do not write so that I google. I have already dealt with this and everywhere there are different answers, I would like to hear an answer from people who work with this =)
Thank you in advance for a detailed answer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lieroes, 2018-10-30
@Denis_DM

I advise you not to invent a bicycle and turn to the popular Bootstrap framework :) it imposes the following grid on us:

// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

Good luck ;)

M
MFNIK, 2018-10-30
@MFNIK

Media screen (max-width:320px) {
Your style.....
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question