a、button、input点击出现蓝色边框,如何去掉
2016-04-15 15:32
986 查看
a,button,input{
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-modify: read-write-plaintext-only;
}
可根据实际情况添加
outline: none;
或
box-shadow: none;
有时候<img />图片放在a标签里也会出现边框,可设置图片的边框为0.
除此之外还要注意其伪类的设置。
js方法:
onclick="this.blur()"
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-modify: read-write-plaintext-only;
}
可根据实际情况添加
outline: none;
或
box-shadow: none;
有时候<img />图片放在a标签里也会出现边框,可设置图片的边框为0.
除此之外还要注意其伪类的设置。
js方法:
onclick="this.blur()"
相关文章推荐
- codeforces 652C C. Foe Pairs(尺取法+线段树查询一个区间覆盖线段)
- 进程控制开发[fork() exec exit _exit wait waitpid 守护进程]
- 219. Contains Duplicate II
- 编译过程中,报failed to resolve:com.andriod.databinding.adapters:1.1
- Lesson 3: More About Jobs and Job Details
- textview 计算宽
- CDISC SDTM CM domain 学习笔记
- http://blog.csdn.net/zhou452840622/article/details/41820301
- URLDecoder: Incomplete trailing escape (%) pattern错误处理
- 查找字符串(containsString和rangeOfString的区别)
- CGRectContainsPoint 用法
- 国外braintree支付手段配置以及使用
- xcode7.3 iTunes Store operation failed问题
- arcgis engine 监听element的添加、更新和删除事件(使用IGraphicsContainerEvents)
- Pku oj 1218 THE DRUNK JAILER(开灯问题)
- “selection does not contain a main type”解决方法
- NLTEST to test the trust relationship between a workstation and domain
- WARNING: The first attempt to start Xvnc failed, possibly because the font
- Pku oj 2027 No Brainer(水题)
- LeetCode笔记:217. Contains Duplicate