Check out example codes for "how to style input fields in css". It will help you in understanding the concepts better.

Code Example 1

input[type=text]
{

    width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  
box-sizing: border-box;

}

Learn ReactJs, React Native from akashmittal.com