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.

2

1 Answer 1

3
button:focus {
    outline: none;
}

or for all elements

*:focus {
    outline: none;
}
1
  • 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, 2014 at 19:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.