首页 > 技术文章 > 如何去掉html中input的边框

ymdi 2021-12-19 15:47 原文

这里不能用css样式选择器选择input组件,设置 border:none;或border: 0px;outline:none;cursor: pointer;
 
亲测没有用处,只有写这种格式时生效,如下:
 
<input type="text" style="border:none;">

推荐阅读