input {
height: 60px;
margin: 30px;
border-radius: 20px;
}
<input type="text">
我不想在聚焦输入时显示丑陋的蓝色边框(在 Chrome 中),但我不知道如何实现这一点。
最佳答案
将 CSS 更改为
input{
height:60px;
margin:30px;
border-radius: 20px;
outline:none;
}
更新了 fiddle http://jsfiddle.net/y8jpvh50/
关于css - 如何从聚焦的输入元素中删除蓝色轮廓?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27731180/