去除input边框以及选中时边框 默认样式

<input type="text" >
 input {
       
        border: 0;  // 去除未选中状态边框
        outline: none; // 去除选中状态边框
        background-color: rgba(0, 0, 0, 0);// 透明背景

    }

就是这么简单,这样就完事了!

猜你喜欢

转载自blog.csdn.net/chao2458/article/details/81745716
今日推荐