K
K
kq19952020-12-04 10:24:57
css
kq1995, 2020-12-04 10:24:57

How to set media queries correctly?

Experienced, please tell me how you put media queries?
I know how it works and how to write them, but I still can’t understand what screen resolutions I need to set the next media query.

I shrink the browser window, then look at what happened (yeah, something went wrong or looks ugly) and write a media query with max-width equal to this screen resolution.

I just get quite a lot of them, something like 6-10 pieces per project. Although I looked on the Internet there people write 4-6.
Maybe just squeeze more so that it captures several screen resolutions at once?
Please help me figure it out.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Khristoev, 2020-12-04
@Haoss

Take bootstrap 4 as a basis, if it's not enough, just add

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question