html中怎么去掉input获取焦点时候的边框

感谢问题解答者:zztuku
问题地址:https://zhidao.baidu.com/question/1609376990135881787.html

/*你可以百用下面的css代码度去掉所有元素的知边框道: */
*:focus {outline: none;} 
 
/*用下面的代码去掉你要去掉的元素的边框:版 */
.nohighlight:focus { outline:none; } 
 
/*你也可以给元权素增加你希望的边框: */
.changeborder:focus { outline:Blue Solid 4px;}

如,给账号输入框消去焦点边框

input[type="text"]{outline: none;}
原文地址:https://www.cnblogs.com/tfxz/p/12823675.html