Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the focus border of button when click?

I am using the Bootstrap button, and I want that when I click on them the focus border should not come around the icons. The code is like below.

<div class="btn-group">
    <button class="btn btn-link"> <img src="../images/icons/User.svg" class="svg"></button>
</div>
like image 583
Rana Aalamgeer Avatar asked Sep 16 '16 06:09

Rana Aalamgeer


1 Answers

Use this style to avoid the focus border on items

button:focus {
    outline: none;
}
like image 111
Jordi Flores Avatar answered Oct 13 '22 14:10

Jordi Flores