I need to set the page width, which is compatible for all sizes of Android device. Why did I use the following code:
meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"
I also tried target-densityDpiwith all the properties, also in target-densityDpi, I gave a number from 70 to 400
the width does not fit the screen, either the width overflows the width of the screen (with a smaller screen), or the width is too small (on the larger display, which is in the device with a display with a diagonal of 4 to 5 inches)
source
share