[WebApp] Mobile platform browser resolution adaptation

Source: Internet
Author: User

Make WebApp fit n multi-browser, remember the browser encountered the need to pay attention to the place.

Firefox is currently found to be the most difficult to match.

1.firefox the correct innerwidth value can only be taken after the onload.

2. The current version of Firefox can not set the width of viewport, regardless of the number of written, always 360. Estimate does not write viewport, is 980.

Then is the Qq browser, seems to be unable to set viewport, but QQ browser unexpectedly support target-densitydpi.

and Safari. This is the egg that hurts the most. Because only a little bit of space on the 4s can be used.

[WebApp] Mobile platform browser resolution adaptation

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: info-contact@alibabacloud.com 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.