prevent上单击默认的蓝色选择 [英] Prevent the default blue selection on click

查看:193
本文介绍了prevent上单击默认的蓝色选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为一个正常的网站,当我开发的网站作为一个原生的Andr​​oid应用程序,
上有我,而在Android上网点击像一个正常的网站后点击的区域蓝色矩形选择。

As a normal website, when I develop website as a native android application, There is a blue rectangle selection on the area I clicked after the click like a normal site while surfing in the android.

我想知道是否有什么办法preventing这一点,所以在applicatin才会有真正的原生状的图形用户界面。

I would like to know if there is any way preventing that, so the applicatin will have a real native-like GUI.

谢谢!

推荐答案

使用下面的CSS:

a {
   outline: 0;
}

有关它的价值,这条边界是存在的可访问性,因此,如果这对你很重要,你不妨考虑保持它。

For what it's worth, that border is there for accessibility, so if that is important to you, you may wish to consider keeping it.

这篇关于prevent上单击默认的蓝色选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆