Check out example codes for "css remove button outline". It will help you in understanding the concepts better.

Code Example 1

button:focus {outline:0;}

Code Example 2

*:focus {
    outline: 0 !important;
}

Code Example 3

button {
  outline: none;
}

Learn ReactJs, React Native from akashmittal.com