EKsumic's Blog

let today = new Beginning();

Click the left button to use the catalog.


Mobile device ease of use

Easy use for mobile is a website rookie needs to pay attention to.

Yes,I  have found something wrong with my website.

I didn't set the viewport value. Because of this, my website on mobile looks very unfriendly.The text is too compact and the page number button is too small to be clicked.But when I was debugging on the PC, I didn't find this problem happend.

Finally,I found the solution.

I just put this code between the head Tags,and then the problem was solved.

<meta name="viewport" content="width=device-width,initial-scale=1.0">

This code ensures that the scale is 1.

Why is this important?

You know, what you see on your PC is not necessarily true.

If the initial-scale is not set to 1, the phone will automatically scale the size, and how much does it scale you don't know.

This article was last edited at 2019-12-29 06:48:20

* *