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

Code Example 1

element{outline:none;}

Code Example 2

textarea:focus, input:focus{
    outline: none;
}

Learn ReactJs, React Native from akashmittal.com