I solved it myself. If Google Chrome does not add the meta name="viewport" tag to set it, there will be problems with the scaling ratio, but Firefox has no effect.
The width percentage unit is calculated relative to the width of its parent element. When the parent element of this p is Body, it should be 70% of the browser window width
I solved it myself. If Google Chrome does not add the meta name="viewport" tag to set it, there will be problems with the scaling ratio, but Firefox has no effect.
The width percentage unit is calculated relative to the width of its parent element. When the parent element of this p is Body, it should be 70% of the browser window width
The screen has shrunk, and the 70% you set will be based on your current width * 70%, instead of the previous 956px
Set width 100% for the parent element