title: how did SO animate answer div
body: <p>I am wondering for some time now, how did SO do this animation on answers when you click on link answer, answer divs color changes for some time and it reverts back, I'm sure this question has been asked before but I just couldn't find it. Or this random example :</p>
  
  <p><a href="https://stackoverflow.com/questions/2706443/what-pitfalls-if-any-are-there-to-learning-c-c-as-a-first-language/2706531#2706531">https://stackoverflow.com/questions/2706443/what-pitfalls-if-any-are-there-to-learning-c-c-as-a-first-language/2706531#2706531</a></p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I see some good answers, but not quite what I'm looking for or maybe I'm sleepy , for ex:</p>
  
  <p>I have a div with id #footer , so if I type <a href="http://mysite.com#footer" rel="nofollow noreferrer">http://mysite.com#footer</a> it will scroll me down to the footer div, how can I pass the argument which div to animate by just visiting the url <a href="http://mysite.com#footer" rel="nofollow noreferrer">http://mysite.com#footer</a> </p>