首页 > 其他 > 详细

去掉input框点击时的默认颜色

时间:2016-04-01 20:37:49      阅读:278      评论:0      收藏:0      [点我收藏+]
 1 <!DOCTYPE html>
 2 <html>
 3 <head>
 4     <meta charset="utf-8">
 5     <title>文本框鼠标点中时边框不变色</title>
 6 </head>
 7 <body>
 8     <input type="text" />
 9 </body>
10 </html>

360安全浏览器        360极速浏览器             chrome浏览器

技术分享技术分享技术分享

在input里面加class类名,例如:class="style",

.style{outline: none;}

去掉input框点击时的默认颜色

原文:http://www.cnblogs.com/shierfen/p/5346110.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!