去除点击input输入框默认出现的边框

291 阅读1分钟

html代码

<input class="input" type="text" placeholder="写点什么吧!">

加入以下css代码即可

.input{
  outline: none;
}