最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - React: How to remove button focus outline from react-bootstrap component? - Stack Overflow

programmeradmin0浏览0评论

I am using this CSS

.reasonButton:focus{
   color: #fff;
    background-color: #676666;
    border-color: #adadad;
    outline: none;
}

Can anybody help me with this problem? Thanks

I am using this CSS

.reasonButton:focus{
   color: #fff;
    background-color: #676666;
    border-color: #adadad;
    outline: none;
}

Can anybody help me with this problem? Thanks

Share Improve this question asked Feb 8, 2018 at 12:11 user8539115user8539115
Add a comment  | 

2 Answers 2

Reset to default 11
.btn:focus {
    outline: none !important;
    outline-offset: none !important;
}

In my case, It was solved by using the above code

button:focus {
  box-shadow: none !important;
}
发布评论

评论列表(0)

  1. 暂无评论