只要是链接 点击后都有个橙色的框. 请问mui.css哪里去掉?谢谢
这个框 我认为比较难看, 没有反而挺好的.
知道的,告之下哦. 谢谢了.
stock2
- 发布:2015-04-08 20:12
- 更新:2015-04-09 10:14
- 阅读:2060
只要是链接 点击后都有个橙色的框. 请问mui.css哪里去掉?谢谢
分类:MUI
7 个回复
太阳光
尝试对相应的标签添加样式{outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-moz-tap-highlight-color:rgba(0,0,0,0);tap-highlight-color:rgba(0,0,0,0)}
stock2 (作者)
比较难了,我发现和mui.css无关. 感觉是hbulider内置浏览器自带的啊.
怎么办啊.
stock2 (作者)
谢谢阳光,等下我试试 我对链接和按钮都去除
stock2 (作者)
我测试了,没效果. 是我样式设置有问题吗? MUI.CSS里面.
a,button {
outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);
-moz-tap-highlight-color:rgba(0,0,0,0);
tap-highlight-color:rgba(0,0,0,0)
}
a:active,
a:hover {
outline: 0; padding: 0; margin: 0;
-webkit-tap-highlight-color:rgba(0,0,0,0);
-moz-tap-highlight-color:rgba(0,0,0,0);
tap-highlight-color:rgba(0,0,0,0);
}
stock2 (作者)
百度里也搜索了.类似a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0);}
但都没效果. 我想知道 Hbulider 内置的是什么浏览器
stock2 (作者)
ok. 是我小米的问题. 其他的手机没问题. 结贴.
太阳光
想查浏览器还不简单```javascript
alert(navigator.userAgent);