如何在Twitter Bootstrap中删除蓝色textarea边框? [英] How come I can't remove the blue textarea border in Twitter Bootstrap?
本文介绍了如何在Twitter Bootstrap中删除蓝色textarea边框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Chrome中,文字区域周围有一个蓝色边框。
In Chrome, there is a blue border around the textarea.
如何无法移除?
textarea:hover, input:hover, textarea:active, input:active, textarea:focus, input:focus {
outline:0px !important;
}
推荐答案
$ c> -webkit-appearance:none; 像这样:
You have write -webkit-appearance:none;
like this:
textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active
{
outline:0px !important;
-webkit-appearance:none;
}
这篇关于如何在Twitter Bootstrap中删除蓝色textarea边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文