A blue box appears after you click on a mobile page

Source: Internet
Author: User

When you click a link or a text box on a mobile page, a blue transparent box (different colors vary) appears on top of it. You can use a CSS to modify the color of this box in a Web page.

  

     

The above code sets the color to white and the transparency to 0. After you click on the page, you will not see the original box.

If you need to add to all the elements:

  

{    -webkit-tap-highlight-color: rgba (0, 0, 0, 0);}

The following is the original text that describes the problem:

In the HTML 5 site a user, who ' s surfing through a mobile device, clicks a link.
The browser draws a box (rectangle) as a feedback (in addition to a sound).
Browser might mean Android 2.3 ' s stock Browser, or Opera Mobile.

I ' d like-to-avoid this (blue) box. At least for IPhone and Android based devices. Any idea?

A blue box appears after you click on a mobile page

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.