Check out example codes for "add border to input css". It will help you in understanding the concepts better.

Code Example 1

border: none;
border-bottom: 1px solid blue;

Learn ReactJs, React Native from akashmittal.com