Instructions for using the meta viewport tag (mobile browsing zoom control)

Instructions for using the meta viewport tag (mobile browsing zoom control)

When OP opens a web page with the current firmware, it will always be zoomed out to 50% before displaying, and it does not support viewport settings like the iPhone.

When there is such a sentence in a web page, it will be displayed in the original size in the iPhone browser and will not allow scaling.
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

in:
width - the width of the viewport
height - the height of the viewport
initial-scale - the initial scale
minimum-scale - the minimum scale the user is allowed to zoom to
maximum-scale - The maximum scale to which the user is allowed to zoom
user-scalable - whether the user can manually scale

Unfortunately, M8's OP does not support it, and I don't know how to set it so that the browser can open the web page at 100% size.

A quick Google search revealed that it is only supported by Opera Mobile 9.5. I wonder if the OP browser with the new firmware version 1.0 can support it.

<<:  Vue and react in detail

>>:  Common errors and solutions for connecting Navicat to virtual machine MySQL

Recommend

JavaScript implements bidirectional linked list process analysis

Table of contents 1. What is a doubly linked list...

Vue dynamic menu, dynamic route loading and refresh pitfalls

Table of contents need: Ideas: lesson: Share the ...

Detailed Example of Row-Level Locking in MySQL

Preface Locks are synchronization mechanisms used...

CSS3 mouse hover transition zoom effect

The following is a picture mouse hover zoom effec...

Example of how to configure nginx to implement SSL

Environmental Description Server system: Ubuntu 1...

Implementation of Nginx configuration of local image server

Table of contents 1. Introduction to Nginx 2. Ima...

js to realize the rotation of web page pictures

This article shares the specific code of js to re...

About the problem of running git programs in jenkins deployed by docker

1. First, an error message is reported when assoc...

MySQL 5.7.23 decompression version installation tutorial with pictures and text

It is too troublesome to find the installation tu...

In-depth understanding of umask in new linux file permission settings

Preface The origin is a question 1: If your umask...

Implementation of Vue top tags browsing history

Table of contents nonsense Functions implemented ...

Solution to the problem that Java cannot connect to MySQL 8.0

This article shares a collection of Java problems...

Let me teach you how to use font icons in CSS

First of all, what is a font icon? On the surface...

Analysis of the usage of Xmeter API interface testing tool

XMeter API provides a one-stop online interface t...