Why the screen is 1920
but the div is also 1920, but it is much wider, like proportional magnification, but the browser ratio is 100% .must there be a code to ask questions? No questions without code?
Why the screen is 1920
but the div is also 1920, but it is much wider, like proportional magnification, but the browser ratio is 100% .must there be a code to ask questions? No questions without code?
1px does not necessarily represent a pixel on the screen
for example, there is a zoom option in win10. If you set it to 150% zoom, 1px will show 1.5 pixels
do you have a reset css?
*{
margin: 0;
padding: 0;
}