如何从聚焦的输入元素中删除蓝色轮廓?

时间:2015-01-01 13:22:03

标签: css3 google-chrome

input {
  height: 60px;
  margin: 30px;
  border-radius: 20px;
}
<input type="text">

我不想在聚焦输入时显示那个丑陋的蓝色边框(在Chrome中),但我不知道如何实现这一点。

1 个答案:

答案 0 :(得分:4)

将CSS更改为

input{
height:60px;
margin:30px;    
border-radius: 20px;
outline:none;
}

更新了小提琴http://jsfiddle.net/y8jpvh50/