title: Div fixed in Javascript animation
body: <p>I have a contact form which has a little animation, the idea is that once the user has clicked the send button, the form will shoot up in the air, a thank you message will then appear - hold for a second or two, fade away and then the form will drop back down to its original position. My problem is that when the form is shooting up in the air it is taking its container and the thank you message, which isn't supposed to appear for a few seconds, with it. This is clearly a css problem and nothing to do with the js. I think the most important of the code is below</p>
  
  <pre><code>&lt;div id="contact"&gt;
  &lt;div id="contact-wrap"&gt;
  
  &lt;div class="contact-form"&gt;
  &lt;form class="contact" method="post" action=""&gt;
  &lt;input type="text" class="contact_name" name="contact_name" value="Name" placeholder="Name"&gt;    &lt;/input&gt;
  &lt;input type="text" class="contact_email" name="contact_email" value="Email" placeholder="Email"&gt;&lt;/input&gt;
  &lt;input type="text" class="contact_subject" name="contact_subject" value="Subject"     placeholder="Subject"&gt;&lt;/input&gt;
  &lt;input type="text" class="contact_message" name="contact_message" value="Write your message here .." placeholder="Write your message here .."&gt;&lt;/input&gt;
  &lt;input class="button" type="button" value="Send It" name="submit"&gt;&lt;/input&gt;
  &lt;/form&gt;&lt;!-- contact --&gt;
  &lt;/div&gt;&lt;!-- contact-form --&gt;
  
  &lt;/div&gt;&lt;!-- contact-wrap --&gt;
  
  &lt;div id="thanks"&gt;
  &lt;p&gt;Message Received, Thanks!&lt;/p&gt;
  &lt;div class="tick"&gt;&lt;/div&gt;    
  &lt;/div&gt;
  
  &lt;/div&gt;&lt;!-- contact --&gt;
  
  
  
  #contact {  
      width:100%;
      overflow:hidden;
      background:#980000;
  }
  #contact-wrap {
      width:55%; min-width:100px; background:#980000;
      margin:0 auto; overflow:hidden; text-align:center;
  }
  .contact-form { 
      background:#fff; 
      width:57%; height:100%; margin:0 auto; :z-index:999999999999;
  }
  .contact { 
      background:#fff;    
  }
  #thanks {  
      background:green; bottom:0;
  }
  </code></pre>
  
  <p>I would really appreciate any help, thanks a lot :)</p>