title: Adding CSS to only part of HTML (Login Page)
body: <p>I am trying to add a login form on the main page of my Wordpress website right on top of a parallax image (essentially floating).</p>
  
  <p>I have grabbed some HTML and CSS code here:
  <a href="http://codepen.io/JGoldz75/pen/grRkJK" rel="nofollow">http://codepen.io/JGoldz75/pen/grRkJK</a></p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="login-page-codepen"&gt;
  &lt;div class="form-codepen"&gt;
  &lt;form class="register-form"&gt;
    &lt;input type="text" placeholder="name"/&gt;
    &lt;input type="Password" placeholder="Password"/&gt;
    &lt;input type="text" placeholder="email address"/&gt;
    &lt;button&gt;create&lt;/button&gt;
    &lt;p class="message"&gt;Already registered? &lt;a href="#"&gt;Sign In&lt;/a&gt;&lt;/p&gt;
  &lt;/form&gt;
  &lt;form class="login-form-codepen"&gt;
    &lt;input type="text" placeholder="Username"/&gt;
    &lt;input type="Password" placeholder="Password"/&gt;
    &lt;button&gt;login&lt;/button&gt;
    &lt;p class="message"&gt;Not registered? &lt;a href="#"&gt;Create an account&lt;/a&gt;&lt;/p&gt;
  &lt;/form&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>    @import url(https://fonts.googleapis.com/css?family=Roboto:300);
  
      .login-page-codepen {
        width: 360px;
        padding: 8% 0 0;
        margin: auto;
      }
      .form-codepen {
        position: relative;
        z-index: 1;
        background: #FFFFFF;
        max-width: 360px;
        margin: 0 auto 100px;
        padding: 45px;
        text-align: center;
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
      }
      .form-codepen input {
        font-family: "Roboto", sans-serif;
        outline: 0;
        background: #f2f2f2;
        width: 100%;
        border: 0;
        margin: 0 0 15px;
        padding: 15px;
        box-sizing: border-box;
        font-size: 14px;
      }
      .form-codepen button {
        font-family: "Roboto", sans-serif;
        text-transform: uppercase;
        outline: 0;
        background: #4CAF50;
        width: 100%;
        border: 0;
        padding: 15px;
        color: #FFFFFF;
        font-size: 14px;
        -webkit-transition: all 0.3 ease;
        transition: all 0.3 ease;
        cursor: pointer;
      }
      .form-codepen button:hover,.form button:active,.form button:focus {
        background: #43A047;
      }
      .form-codepen .message {
        margin: 15px 0 0;
        color: #b3b3b3;
        font-
  
  size: 12px;
  }
  .form-codepen .message a {
    color: #4CAF50;
    text-decoration: none;
  }
  .form-codepen .register-form {
    display: none;
  }
  </code></pre>
  
  <p>The HTML gets added to the website correctly, however the CSS seems to keep applying the container to the whole page which does two things:
  1.) Skips formatting what I actually need it to format
  2.) Makes the whole website look awful with all texts in two inch margins. </p>
  
  <p>I assume this has got to be a dumb syntax error. This is my first time ever using HTML OR CSS - hence the noobiness. Any help or guidance would be appreciated!</p>
  
  <p>Here is the test website that I am trying to add this too. I would want this login page to appear right under where it says "TBD" in the background parallax photo: <a href="http://nameistbd.co.nf/" rel="nofollow">http://nameistbd.co.nf/</a></p>