boostrap box ouline unless clicked on code example Example: remote click outline bootstrap4 .btn:focus,button:focus{ outline: none !important; }