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

Code Example 1

/*A box-shadow can be used for a similar effect*/

.your-box-or-button-class{
box-shadow: 0 0 3px #000000;
}

Learn ReactJs, React Native from akashmittal.com