引导按钮在单击时显示蓝色轮廓 [英] bootstrap button shows blue outline when clicked
本文介绍了引导按钮在单击时显示蓝色轮廓的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我添加了此按钮,但点击按钮时仍显示蓝色轮廓。
I added this but still the blue outline appear when the button is clicked.
.btn:focus {
outline: none;
}
如何清除这种丑陋的东西?
how to remove that ugly thingy?
推荐答案
可能是您的属性正在被覆盖。
尝试将!important
与代码一起附加到:active。
May be your properties are getting overridden.
Try attaching !important
to your code along with the :active .
.btn:focus,.btn:active {
outline: none !important;
}
这篇关于引导按钮在单击时显示蓝色轮廓的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文