Answer the question
In order to leave comments, you need to log in
Why does the site become responsive on mobile devices with a large screen resolution?
I have a phone with a high screen resolution of 1920 x 1080. And when I visit some sites, they adjust to fit the screen of my phone. Moreover, the site adapts not to the screen resolution, but to its physical size. I don't understand how to make a website with bootstrap. After all, if you read the documentation, then there are boundaries for different devices 768px - Small devices, 992px - Medium devices, 1200px - Large devices. And the resolution of my phone is like on a computer.
Ps: Sorry if I didn't phrase my question clearly.
Answer the question
In order to leave comments, you need to log in
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
the simplest answer. As mentioned above, the device pixel is not equal to the css pixel. But each device has a certain coefficient from 1 to 4. You divide your resolution by this coefficient and you get the resolution in css. Your phone most likely has it equal to 3, so 1080/3=360, which is less than 768. mydevice.io/devices here this ratio is called "px ratio".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question