How TO - Login Form Learn how to create a responsive login form with CSS. Step 1) Add HTML: . margin: 5px auto; /* 15% from the top and centered */.