Home  >  Article  >  Web Front-end  >  Meta viewport enables full screen display control of web pages in iPhone_HTML/Xhtml_Web page production

Meta viewport enables full screen display control of web pages in iPhone_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:41:241586browse

In desperation, I suddenly thought about how to make the Sina touch screen version I often visit? Open Opera,
look at the source code and find the meta viewport in the HTML header. Is this guy playing a role?
Try adding it and it really fills the screen. By the way, I checked the function of this tag and recorded it for future
use.
meta viewport


Where:
width – the width of the viewport
height – the height of the viewport
initial-scale – initial scaling
minimum-scale – the minimum scale the user is allowed to zoom to
maximum-scale – the maximum scale the user is allowed to zoom to
user-scalable – whether the user can manually zoom

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn