Click the text box to enlarge the page. Click the text box to change the page.

Source: Internet
Author: User

Click the text box to enlarge the page. Click the text box to change the page.

Cause: in HTML, 16 PX font is considered by default, which can be clearly viewed. Therefore, when you click the text box, the current text box is displayed in 16 PX font size (that is, the page with a font smaller than 16 PX will become larger ).
Solution Principle: Set the font of the text box to 16px;
Solution: 1: Set font-size: 16px;
2: add this code to force the font to be 16px when the focus is obtained.
@ Media only screen and (min-device-width: 320px) and (max-device-width: 1024px ){

\ Select: focus, textarea: focus, input: focus {

Font-size: 16px! Important;


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.