Check out example codes for "how to make border hover effect in css". It will help you in understanding the concepts better.

Code Example 1

box-shadow: 0 0 5px <your color>, 0 0 5px <your color>, 0 0 10px <your color>;

Learn ReactJs, React Native from akashmittal.com