how to style input fields in css

CSS
input[type=text]
{

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

} 
Source

Also in CSS: