0

I am not sure if is there a way to solve it. but my Google chrome creates a border when I click on a button, that calls a function.

enter image description here

The image bellows shows the blue border that is being showed.

JDB
  • 25,172
  • 5
  • 72
  • 123
Anderson
  • 59
  • 1
  • 7

1 Answers1

3
button:focus {
    outline: none;
}

or for all elements

*:focus {
    outline: none;
}
sfletche
  • 47,248
  • 30
  • 103
  • 119
  • In practice, `outline: none` seems to be better supported by most browsers even though it should be identical to `outline: 0` in theory. – JDB Apr 28 '14 at 19:40