htmlHow to cancel horizontal zoom, the editor will share with you.
html usually handles browser zoom.
If you need to turn off the horizontal zoom effect of the browser.
You can set the minimum width of body and html.
Implementation code:
html{ position: relative; min-width: 1280px; width: 100%; height: 100%; } body{ min-width: 1280px; position: relative; width: 100%; height: 100%; background: #323333; opacity: 1; }
Students who need to learn html please pay attention to the php Chinese website html video tutorial, many html online video tutorials can be watched for free!
The above is the detailed content of HTML realizes the horizontal zoom effect of turning off the browser. For more information, please follow other related articles on the PHP Chinese website!