去除input边框以及选中时边框 默认样式 程序猿小张 2020-04-05 4,070 阅读1分钟 <input type="text" > input { border: 0; // 去除未选中状态边框 outline: none; // 去除选中状态边框 background-color: rgba(0, 0, 0, 0);// 透明背景 }