Is it possible to avoid the black overlay when clicking links on Safari on iPhone?

瘦欲@ 提交于 2019-12-11 08:29:36

问题


Is it possible to avoid the black overlay when clicking links on Safari on iPhone?

there is something like this for the web version of Safari

:focus {
outline: 0;
}

so can I avoid to see a black box when i click anything on a web page on for safari on iPhone?


回答1:


a { -webkit-tap-highlight-color: transparent; }


来源:https://stackoverflow.com/questions/2999006/is-it-possible-to-avoid-the-black-overlay-when-clicking-links-on-safari-on-iphon

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!