有时候input在页面中被聚焦后会出现默认的边框样式,可以通过以下方法取消去除 .input:focus{ outline: none;} 转载于:https://www.cnblogs.com/webwangjie/p/6679983.html