复制代码
1
2
3
4
5input{ background:none; outline:none; border:none; }
如果input必须要有边框,但需要去掉选中时的蓝色框,则:
复制代码
1
2
3
4
5
6
7
8input{ background:none; outline:none; border:1px solid #ccc; } input:focus{ border:none; }
最后
以上就是大意可乐最近收集整理的关于CSS 去掉input默认样式 的全部内容,更多相关CSS内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复