移动端网站或APP点击后出现闪动或灰色背景_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:34:19
Original
1124 people have browsed it

遇到这个问题了,记录下,备用~

文章来源:http://www.lxway.com/846165591.htm

---------------------------


隐藏文本框阴影:
Copy after login

input, textarea{-webkit-appearance: @none;}
Copy after login


        
Copy after login

取消手机点击屏幕时,会出现的灰块

html,body{-webkit-text-size-adjust: 100%;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}
Copy after login

移动端网站或APP点击后出现闪动或灰色背景

只需对绑定事件添加class样式 使其触发事件时背景为透明色

.class{-webkit-tap-highlight-color:transparent;}
Copy after login


        
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!