title: How to space between username and password forms
body: <p>I'm creating a webpage for my internship  and i need a login and password form. I animated the text boxes like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>input[type=text] {
      z-index: 10;
      width: 30px;
      position: absolute;
      box-sizing: border-box;
      border: 2px solid #ccc;
      border-radius: 4px;
      font-size: 16px;
      background-color: white;
      background-position: 10px 10px; 
      background-repeat: no-repeat;
      padding: 12px 20px 12px 40px;
      -webkit-transition: width 0.4s ease-in-out;
      transition: width 0.4s ease-in-out;
      height: 30px;
      display: block;
  }
  input[type=text]:focus {
      width: 130px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="text" name="username" placeholder="User.." size="30" /&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And then I inserted the table in a div and did the same thing to the password</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#login {
      position: absolute;
      font-family: "Times New Roman", Times, serif;
      font-weight: bold;
      text-align: left;
      right:350px;
      bottom:5px;
      height: 200px;
      width:200px;
  }
  
  
  input[type=text] {
      z-index: 10;
      width: 30px;
      position: absolute;
      box-sizing: border-box;
      border: 2px solid #ccc;
      border-radius: 4px;
      font-size: 16px;
      background-color: white;
      background-position: 10px 10px; 
      background-repeat: no-repeat;
      padding: 12px 20px 12px 40px;
      -webkit-transition: width 0.4s ease-in-out;
      transition: width 0.4s ease-in-out;
      height: 30px;
      display: block;
  }
  input[type=text]:focus {
      width: 130px;
  }
  
  
  
  input[type=password] {
      z-index: 10;
      width: 30px;
      position: absolute;
      box-sizing: border-box;
      border: 2px solid #ccc;
      border-radius: 4px;
      font-size: 16px;
      background-color: white;
      background-image: url('searchicon.png');
      background-position: 10px 10px; 
      background-repeat: no-repeat;
      padding: 12px 20px 12px 40px;
      -webkit-transition: width 0.4s ease-in-out;
      transition: width 0.4s ease-in-out;
      display: block;
      height: 30px;
  }
  input[type=password]:focus {
      width: 130px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="login"&gt;
              
           &lt;form name="frmLogin" method="post" action=""&gt;
              &lt;br&gt;&lt;br&gt;
              &lt;table width="100" align="center"&gt;
                  
                  &lt;tr&gt;
                      &lt;td&gt;Username:&lt;/td&gt;
                      &lt;td&gt;&lt;input type="text" name="username" placeholder="User.." size="30" /&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  
                  
                  &lt;tr&gt;
                      &lt;td&gt;Password:&lt;/td&gt;
                      &lt;td&gt;&lt;input type="password" name="password" placeholder="Pass.." size="30" /&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  
                  
              &lt;/table&gt;
              &lt;input type="hidden" name="acao" value="login" /&gt;
          &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>So now you can see my problem in the snippet, the login and password forms are overlaying each other and i want to have a little space between them. </p>