Summary of common compatibility issues with PC End/mobile

Source: Internet
Author: User

Mobile side:

① Android Browser to see the background image, some devices will be blurred, because the phone's resolution is too small

Solution: Replace the img tag with a 2X image, then Background-size:contain

② prevent the page from zooming in or out in your phone: Set viewport user-scalable = No in meta

③ up and down scroll bar lag: Overflow-scrolling:touch;

④ disable copying of selected text: User-select:none;

⑤ for a long time press and hold the page appears to flash back:-webkit-touch-callout:none;

⑥ animation definition 3D hardware acceleration: Transform:translate 3d (0,0,0);

⑦formate-detection Start or disable automatic identification of the phone number in the page, content = "yes/no"

⑧a Tag Add Tel is dialing function

⑨ Android mobile phone fillet failure: background-clip:padding-box;

⑩ Mobile 300ms delay: Fastclick

① horizontal Normal font bold inconsistency: text-size-adjust:100%;

PC side:

①rgba does not support IE8 setting transparency with opacity attribute instead of RGBA

② picture plus a label appears in the IE9 border solution: Img{border:none;}

③IE6 not supported Display:inline-block set to: Display:inline

④position:fixed does not support IE5/IE6

⑤ie6,firfox, Width = width + padding + border

⑥min-height ratio compatible IE6/IE7

Summary of common compatibility issues with PC End/mobile

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.