只需要给input标签加一个 outline:none 的样式就可以了实现了
<style> input { outline:none } </style>
复制
还有一种方法,直接控制input标签聚焦是不出现默认边框,代码如下:
input:focus{ outline:none; }
复制
这样大概就可以解决!!!!
只需要给input标签加一个 outline:none 的样式就可以了实现了
<style> input { outline:none } </style>
复制
还有一种方法,直接控制input标签聚焦是不出现默认边框,代码如下:
input:focus{ outline:none; }
复制
这样大概就可以解决!!!!
2024-08-27 09:08:17
2024-05-09 11:05:34
2024-06-06 10:06:47
2024-04-22 09:04:34
2024-03-29 15:03:20
2024-04-20 17:04:38
2024-05-10 08:05:15
2024-10-30 21:10:12